Delete a policy template. Fails if the policy is currently in use by agents or cards.
cURL
curl --request DELETE \ --url https://api.useproxy.ai/v1/policies/{policyId} \ --header 'Api-Key: <api-key>'
{ "object": "policy", "id": "<string>", "deleted": true }
API key for authentication. Get your key from the Dashboard.
The policy ID
Policy deleted
"policy"
true