Policies

Delete a policy.

Changed on

Delete a policy by ID in your Tyk instance.

delete/tyk/policies/{polID}

Request

  • Base URL
    https://localhost:8080
  • URL
    https://localhost:8080/tyk/policies/{polID}
  • Auth
    API 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

actionstring
keystring
key_hashstring
statusstring

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

    • warning

      deleted the path request parameter polID

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status