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

Issue a team's submission token

POST/api/admin/teams/{teamId}/submission-token/issue
Authorization
AuthorizationBearer token · headerrequired
Path parameters
teamIdstringrequired
min length 1
Request body
requiredapplication/json
labelstring | null
Show properties
Any of:
string
string
null
null
Responses
200

Success

tokenobjectrequired
Show properties
teamIdstringrequired
generationnumberrequired
tokenstringrequired
tokenHashstringrequired
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 POST '/api/admin/teams/string/submission-token/issue' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "label": "string"
}'
Response
{
  "token": {
    "teamId": "string",
    "generation": 0,
    "token": "string",
    "tokenHash": "string"
  }
}