Skip to main content

DeleteGuardrail

DELETE 

/v1/customers/:customer_id/projects/:project_id/guardrails/:id

DeleteGuardrail soft-deletes a guardrail (sets deleted_at; the row disappears from List/Get). Child rules of the soft-deleted guardrail are no longer served. Historical trigger records referencing this guardrail REMAIN queryable. Returns PERMISSION_DENIED when the target guardrail is a template (is_template=true); templates are instantiated via CreateGuardrailFromTemplate, never mutated.

Request

Responses

Success