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

Rename a team

PATCH/api/admin/teams/{teamId}
Authorization
AuthorizationBearer token · headerrequired
Path parameters
teamIdstringrequired
min length 1
Request body
requiredapplication/json
namestringrequired
min length 2 · max length 32
Responses
200

Success

okbooleanrequired
teamIdstringrequired
namestringrequired
401

Unauthorized

errorstringrequired
404

Response for status 404

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 PATCH '/api/admin/teams/string' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string"
}'
Response
{
  "ok": true,
  "teamId": "string",
  "name": "string"
}