cURL
curl --request DELETE \ --url https://{tenant}/api/portal/policies/{id} \ --header 'Authorization: Bearer <token>'
{ "Message": "Data deleted", "Meta": null, "Status": "OK" }
Delete a Policy by ID.
Documentation IndexFetch the complete documentation index at: https://tyk.io/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://tyk.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
The Tyk Dashboard API Access Credentials
ID of policy to delete.
Deleted policy successfully.
Was this page helpful?
Contact support