Skip to content

Invalidate an admission token

Request

Invalidate an admission token and remove it from the event. Invalidated tokens can no longer be used by event staff to redeem tickets and grant admission.

Security
SessionKey(Required scopes: administrator)
Path
eventintegerrequired

Unique identifier of the requested event

tokenintegerrequired

Unique identifier of the requested admission token

curl -i -X DELETE \
  'https://docs.ticketingevents.com/_mock/openapi/events/{event}/tokens/{token}' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

The admission token was successfully invalidated and removed from the system.

Bodyapplication/json
messagestring

Reason for the given response.

Response
{ "message": "Token: /events/16993717817996/tokens/17370490770235 has been deleted." }