v1
latestOpenAPI 3.0.32026-07-267015229.9 KBGuardrails
Patch Guardrails
Update specific fields of a guardrail using JSON Patch operations. Paths must match the current document shape - compare against the response from Get Guardrails before patching.
patch/v2/guardrails/{guardrail_id}
Request body
Example request
[
{
"op": "replace",
"path": "/guardrail_prompt",
"value": "Updated prompt with stricter restrictions."
}
]Response
Guardrail updated successfully
Example response
{
"uuid": "g1234567890ab"
}