For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delete API token

Permanently deletes an API token.

delete
Authorizations
Api-TokenstringRequired

Pass the API token in the Api-Token

Path parameters
idinteger · int64Required

API token ID

Example: 12345
Responses
204

Token deleted (no body)

No content

delete/api/api_tokens/{id}
curl -X DELETE https://mailtrap.io/api/api_tokens/{id} \
  -H 'Authorization: Bearer YOUR_API_KEY'

No content

Last updated

Was this helpful?