DELETE
/
tyk
/
policies
/
{polID}
Delete a policy.
curl --request DELETE \
  --url https://{tenant}/tyk/policies/{polID} \
  --header 'X-Tyk-Authorization: <api-key>'
{
  "action": "deleted",
  "key": "5ead7120575961000181867e",
  "status": "ok"
}

Authorizations

X-Tyk-Authorization
string
header
required

Api key

Path Parameters

polID
string
required

You can retrieve details of a single policy by ID in your Tyk instance.

Response

Deleted policy by ID

action
string
Example:

"modified"

key
string
Example:

"b13d928b9972bd18"

key_hash
string
status
string
Example:

"ok"