---
search:
  tags:
    - Teams
    - PATCH
seo:
  description: >-
    Make a team a hidden reference team or a scored… Reference for the PATCH
    /api/admin/teams/{teamId}/visibility endpoint in the Athena Attack/Defence
    Admin API.
sidebar:
  label: Make a team a hidden reference team or a scored one, before the roster locks
  badge: PATCH
title: Make a team a hidden reference team or a scored one, before the roster locks
type: openapi-operation
---
`PATCH /api/admin/teams/{teamId}/visibility`

**Request body** (`application/json`, required)

- `hidden` (boolean, required)
- `confirmMembers` (boolean, required)

Request body example:

```json
{
  "hidden": true,
  "confirmMembers": false
}
```

**Responses**

- `200` — Success
- `401` — Unauthorized
- `404` — Response for status 404
- `409` — Response for status 409
- `422` — Validation failed
- `500` — Unhandled server error

Response example, 200:

```json
{
  "changed": true
}
```
