API Reference
Virtual Keys
Prompts
- POSTCreate Prompt
- GETList Prompts
- GETRetrieve Prompt
- PUTUpdate Prompt
- DELDelete Prompt
- PUTPublish Prompt
- GETList Prompt Versions
- GETRetrieve Prompt Version
- PUTUpdate Prompt Version
- Prompt Partials
- Prompt Labels
- Prompt Collections
API Keys
Analytics [BETA]
- Summary
- Groups Paginated Data
- Graphs - Time Series Data
User Invites
Workspaces
Workspace Members
Audit Logs
Guardrails
OpenAPI
Delete Guardrail
Deletes an existing guardrail
DELETE
/
guardrails
/
{guardrailId}
Delete a guardrail
Copy
Ask AI
curl --request DELETE \
--url https://api.portkey.ai/v1/guardrails/{guardrailId} \
--header 'x-portkey-api-key: <api-key>'
Copy
Ask AI
This response does not have an example.
Authorizations
Path Parameters
Guardrail UUID or slug to delete
Response
200
Guardrail deleted successfully
Was this page helpful?
Delete a guardrail
Copy
Ask AI
curl --request DELETE \
--url https://api.portkey.ai/v1/guardrails/{guardrailId} \
--header 'x-portkey-api-key: <api-key>'
Copy
Ask AI
This response does not have an example.
Assistant
Responses are generated using AI and may contain mistakes.