Guardrails
Delete a guardrail
Changed onDelete an existing guardrail. A workspace-scoped management key reaches only guardrails in its own workspace; any other guardrail returns 404. Management key required.
delete/guardrails/{id}
Request
- Base URLhttps://openrouter.ai/api/v1
- AuthHTTP bearer
Path parameters
id, string uuid required
The unique identifier of the guardrail to delete
Example:550e8400-e29b-41d4-a716-446655440000
Response
Guardrail deleted successfully
Delete Guardrail Response required
deleted, true required
Confirmation that the guardrail was deleted
Example response
{
"deleted": true
}Changes
- info
added the non-success response with the status
- info
- info
added the non-success response with the status
- info