Policies

Delete a policy.

Delete a policy by ID in your Tyk instance.

delete/tyk/policies/{polID}

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

Changed in 2 of the 52 revisions of this API.114

  • 111affa17abe12See the full diff
    • added the new path request parameter polID

      new-request-path-parameter

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 403

      response-non-success-status-added

    This revision also has 28 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 111d8ca2186412See the full diff
    • deleted the path request parameter polID

      request-parameter-removed

    • removed the non-success response with the status 400

      response-non-success-status-removed

    • removed the non-success response with the status 403

      response-non-success-status-removed

    This revision also has 155 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog