Delete an existing policy
curl --request DELETE \ --url https://api.enkryptai.com/guardrails/delete-policy \ --header 'X-Enkrypt-Policy: <x-enkrypt-policy>' \ --header 'apikey: <api-key>'
{ "message": "Policy details deleted successfully", "data": { "policy_id": 1234567890, "project_name": "default" } }
The policy saved name
"Test Policy"
"Policy details deleted successfully"
Show child attributes
1234567890
"default"