cURL
curl --request DELETE \ --url https://{tenant}/tyk/keys/{keyID} \ --header 'X-Tyk-Authorization: <api-key>'
{ "action": "deleted", "key": "5e9d9544a1dcd60001d0ed20e7f75f9e03534825b7aef9df749582e5", "status": "ok" }
Deleting a key will remove it permanently from the system, however analytics relating to that key will still be available.
Api key
The key ID.
Use the hash of the key as input instead of the full key.
true
false
Key deleted.
"modified"
"b13d928b9972bd18"
"ok"
Was this page helpful?