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.
Was this page helpful?