Delete a policy and all its rules
DELETE
/policies/{policyID}Permanently deletes a policy together with all of its rules. Enforcement derived from the policy stops; this cannot be undone.
Auth:
BearerPath parameters
policyIDuuidrequired
Request
bash
curl -sS -X DELETE "https://phosra-api-sandbox-production.up.railway.app/api/v1/policies/b011c1e5-0000-4000-8000-000000000b01" \
-H "Authorization: Bearer $PHOSRA_API_KEY"