v52

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-03269339953.6 KB
Mail: API Tokens

Revoke API token

Revoke an API token. The token immediately loses access to the Hostinger Email API. This action cannot be undone.

delete/api/mail/v1/api-tokens/{tokenId}

Path parameters

tokenIdstring required
Example:019683f8-1234-7abc-8def-0123456789ab

API token ID (returned when the token was created)

Response

Success response

messagestring

Example response

{
  "message": "Request accepted"
}