Skip to main content
DELETE
/
guardrails
/
{guardrailId}
Delete a guardrail
curl --request DELETE \
  --url https://api.portkey.ai/v1/guardrails/{guardrailId} \
  --header 'x-portkey-api-key: <api-key>'
{
  "error": {
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "type": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://portkey-docs-log-export-guide-1773064217.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-portkey-api-key
string
header
required

Path Parameters

guardrailId
string
required

Guardrail UUID or slug to delete

Response

Guardrail deleted successfully

Last modified on March 9, 2026