---
search:
  tags:
    - Submission tokens
    - POST
seo:
  description: >-
    Revoke a submission token. Reference for the POST
    /api/admin/submission-token/revoke endpoint in the Athena Attack/Defence
    Admin API.
sidebar:
  label: Revoke a submission token
  badge: POST
title: Revoke a submission token
type: openapi-operation
---
`POST /api/admin/submission-token/revoke`

**Request body** (`application/json`, required)

- `tokenHash` (string, required)

Request body example:

```json
{
  "tokenHash": "string"
}
```

**Responses**

- `200` — Success
- `401` — Unauthorized
- `404` — Response for status 404
- `422` — Validation failed
- `500` — Unhandled server error

Response example, 200:

```json
{
  "revoked": true
}
```
