> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/api-reference/endpoints/mail/api-tokens/revoke-api-token.md).

# Revoke API token

Revoke an API token. The token immediately loses access to the \[Hostinger Email API]\(https\://api.mail.hostinger.com/). This action cannot be undone.

{% openapi src="<https://developers.hostinger.com/openapi/openapi.json>" path="/api/mail/v1/api-tokens/{tokenId}" method="delete" %}
<https://developers.hostinger.com/openapi/openapi.json>
{% endopenapi %}
