---
search:
  tags:
    - Teams
    - POST
seo:
  description: >-
    Move a player onto a team; their SSH keys and VPN… Reference for the POST
    /api/admin/teams/{teamId}/members endpoint in the Athena Attack/Defence
    Admin API.
sidebar:
  label: >-
    Move a player onto a team; their SSH keys and VPN peer on the old team are
    revoked
  badge: POST
title: >-
  Move a player onto a team; their SSH keys and VPN peer on the old team are
  revoked
type: openapi-operation
---
`POST /api/admin/teams/{teamId}/members`

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

- `userId` (string, required)

Request body example:

```json
{
  "userId": "string"
}
```

**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
{
  "ok": true,
  "teamId": "string"
}
```
