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

Revoke a submission token

POST/api/admin/submission-token/revoke
Authorization
AuthorizationBearer token · headerrequired
Request body
requiredapplication/json
tokenHashstringrequired
min length 1
Responses
200

Success

revokedbooleanrequired
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
Bodyapplication/json
Request
curl -X POST '/api/admin/submission-token/revoke' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "tokenHash": "string"
}'
Response
{
  "revoked": true
}