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

Create a team before the roster locks; a hidden reference team may be memberless and is admitted but never scored

POST/api/admin/teams
Authorization
AuthorizationBearer token · headerrequired
Request body
requiredapplication/json
namestringrequired
min length 2 · max length 32
handlestringrequired
min length 3 · max length 20 · matches ^[A-Za-z0-9-]+$
leaderUserIdstring | null
Show properties
Any of:
string
string
null
null
hiddenbooleanrequired
default: false
Responses
200

Success

idstringrequired
handlestringrequired
namestringrequired
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
Bodyapplication/json
Request
curl -X POST '/api/admin/teams' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string",
  "handle": "string",
  "leaderUserId": "string",
  "hidden": false
}'
Response
{
  "id": "string",
  "handle": "string",
  "name": "string"
}

Was this page helpful?