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>"
}
}Delete Guardrail
Deletes an existing guardrail
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://docs.portkey.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Last modified on January 28, 2026
Was this page helpful?
⌘I

