Skip to content
Get Started

Revoke a temporary API token

DELETE/v3/auth/tokens/{token_id}

Revokes a temporary bearer token owned by the authenticated account. This endpoint must be called with live account API keys; temporary bearer tokens and test API keys cannot revoke tokens.

Path ParametersExpand Collapse
token_id: string

Revoke a temporary API token

curl https://api.sendblue.co/v3/auth/tokens/$TOKEN_ID \
    -X DELETE \
    -H "sb-api-key-id: $SENDBLUE_API_API_KEY" \
    -H "sb-api-secret-key: $SENDBLUE_API_API_SECRET"
Returns Examples