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

Remove a player from a team; an admitted team keeps its box when it empties

DELETE/api/admin/teams/{teamId}/members/{userId}
Authorization
AuthorizationBearer token · headerrequired
Path parameters
teamIdstringrequired
min length 1
userIdstringrequired
min length 1
Responses
200

Success

okbooleanrequired
promotedUserIdnullrequired
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
Request
curl -X DELETE '/api/admin/teams/string/members/string' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "ok": true,
  "promotedUserId": null
}