Skip to content
Athena User Guide
Esc
↑↓navigate↵open⌘Jpreview

Move a player onto a team; their SSH keys and VPN peer on the old team are revoked

POST/api/admin/teams/{teamId}/members
Authorization
AuthorizationBearer token · headerrequired
Path parameters
teamIdstringrequired
min length 1
Request body
requiredapplication/json
userIdstringrequired
min length 1
Responses
200

Success

okbooleanrequired
teamIdstringrequired
401

Unauthorized

errorstringrequired
404

Response for status 404

errorstringrequired
409

Response for status 409

errorstringrequired
422

Validation failed

typestringrequired
onstringrequired
summarystring
messagestring
foundany
propertystring
expectedstring
500

Unhandled server error

errorstringrequired
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST '/api/admin/teams/string/members' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "userId": "string"
}'
Response
{
  "ok": true,
  "teamId": "string"
}