Policies
Delete a policy.
Changed onDelete a policy by ID in your Tyk instance.
delete/tyk/policies/{polID}
Request
- Base URLhttps://localhost:8080
- URLhttps://localhost:8080/tyk/policies/{polID}
- AuthAPI key in header X-Tyk-Authorization
Path parameters
polIDstring required
You can retrieve details of a single policy by ID in your Tyk instance.
Response
Deleted policy by ID
Example response
{
"action": "modified",
"key": "b13d928b9972bd18",
"status": "ok"
}Changes
- breaking
added the new path request parameter
polID - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking
- warning
deleted the
pathrequest parameterpolID - info
removed the non-success response with the status
- info
removed the non-success response with the status
- warning