DELETE
/
guardrails
/
delete-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"
  }
}

Authorizations

apikey
string
header
required

Headers

X-Enkrypt-Policy
string
required

The policy saved name

Example:

"Test Policy"

Response

200 - application/json
Successful Response
message
string
Example:

"Policy details deleted successfully"

data
object