Delete tokens

Remove tokens with immediate effect.

🚧

The Delete API can only delete tokens in the Alias 2.0 token format.

Contact us if you are unsure which alias format you are using.

Tokens are deleted simply with one API call. For example,

curl --request DELETE \
  --url 'https://api.sandbox.datatrans.com/v1/aliases/{{token}}' \
  --header 'Authorization: Basic {{basicAuth}}'

A HTTPS 204 response will be returned with no content if the deletion was successful.