Skip to main content

DeleteToken

DeleteToken will remove the sensitive data element and corresponding token from your token vault.

warning

TokenEx API v1 has been deprecated and is now in break/fix mode. All new enhancements are being added to API v2.

info

The DeleteToken function is only applicable to vaulted tokenization. Delete will return an error if a vaultless tokenization profile is specified in the TokenExID parameter.

URI: https://test-api.tokenex.com/TokenServices.svc/REST/DeleteToken

Request Parameters

ParameterTypeDescription
APIKeystringSee Authentication
TokenExIDstringYour TokenEx ID
TokenstringThe token you wish to delete
{
"APIKey": "YourAPIKey",
"TokenExID": "YourTokenExID",
"Token": "545454587415454"
}

Response Parameters

ParameterTypeDescription
SuccessboolIndicator if the result was successful or not
ReferenceNumberstringReference number for the TokenEx transaction
ErrorstringError Code and human-readable description
{
"Error": "",
"ReferenceNumber": "15102913382030662954",
"Success": true
}