Skip to main content
DELETE
/
api
/
portal
/
policies
/
{id}
Delete a single policy by ID.
curl --request DELETE \
  --url https://{tenant}/api/portal/policies/{id} \
  --header 'Authorization: Bearer <token>'
{
  "Message": "Data deleted",
  "Meta": null,
  "Status": "OK"
}

Documentation Index

Fetch the complete documentation index at: https://tyk.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The Tyk Dashboard API Access Credentials

Path Parameters

id
string
required

ID of policy to delete.

Response

Deleted policy successfully.

ID
string
Message
string
Meta
any
Status
string