Skip to main content
DELETE
/
tyk
/
keys
/
{keyID}
Delete a key.
curl --request DELETE \
  --url https://{tenant}/tyk/keys/{keyID} \
  --header 'X-Tyk-Authorization: <api-key>'
{
  "action": "deleted",
  "key": "5e9d9544a1dcd60001d0ed20e7f75f9e03534825b7aef9df749582e5",
  "status": "ok"
}

Authorizations

X-Tyk-Authorization
string
header
required

Path Parameters

keyID
string
required

Query Parameters

hashed
boolean

Response

action
string
Example:
key
string
Example:
key_hash
string
status
string
Example: