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

List every live submission-token generation of a team, newest first

GET/api/admin/teams/{teamId}/submission-tokens
Authorization
AuthorizationBearer token · headerrequired
Path parameters
teamIdstringrequired
min length 1
Responses
200

Success

tokensobject[]required
Show properties
Array of object
newestbooleanrequired
tokenHashstringrequired
generationnumberrequired
labelstring | nullrequired
Show properties
Any of:
string
string
null
null
createdBystring | nullrequired
Show properties
Any of:
string
string
null
null
createdAtstring<date-time>required
lastUsedAtstring<date-time> | nullrequired
Show properties
Any of:
string<date-time>
string<date-time>
null
null
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
Request
curl -X GET '/api/admin/teams/string/submission-tokens' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "tokens": [
    {
      "newest": true,
      "tokenHash": "string",
      "generation": 0,
      "label": "string",
      "createdBy": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "lastUsedAt": "2019-08-24T14:15:22Z"
    }
  ]
}

Was this page helpful?