organization-guardrails
Update Organization Guardrail
Change a guardrail's profile, endpoint, credential, modes, or scope.
Organization owners and admins only. Omitted fields are left as they are; workspace_ids replaces the scope whole when sent, and url and credential are cleared by sending an empty string rather than null.
patch/v1/organizations/me/guardrails/{guardrail_id}
Path parameters
guardrail_idstring uuid required
Request body
Example request
{
"credential": "sk-guardrails-...",
"mode": "monitor",
"url": "https://guardrails.internal.example/validate"
}Response
Successful Response