Product arrow right Cloud arrow right Security arrow right Revoke Token

Revoke a token

Users can issue long-lived tokens, as described in the API documentation.

To invalidate a token, call the API endpoint for deleting tokens using that token as the authorization header.

info

It takes up to a minute for an invalidated token to start getting rejected by the API.

export TEMBO_TOKEN="The token you want to invalidate"

curl -X DELETE \
    -H "Authorization: Bearer ${TEMBO_TOKEN}" \
    "https://api.tembo.io/api/v1/tokens/invalidate"

Next

chevron right arrow

Tenant isolation

Security