Mail: API Tokens
Revoke API token
Changed onRevoke 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}
Request
- Base URL: https://developers.hostinger.com
- URL: https://developers.hostinger.com/api/mail/v1/api-tokens/{tokenId}
- Auth: HTTP bearer
Path parameters
tokenIdstring required
Example:019683f8-1234-7abc-8def-0123456789ab
API token ID (returned when the token was created)
Response
Success response
Example response
{
"message": "Request accepted"
}Changes
- info
endpoint added
- info