curl -X PATCH https://api.telzino.com/v1/guardrails/11111111-1111-1111-1111-111111111111 \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "enabled": false }'
{
"success": true
}
// The patch body was empty — send at least one of name, description, enabled.
{
"error": "Invalid request data",
"details": [
{
"code": "custom",
"path": [],
"message": "At least one field is required"
}
]
}
{
"error": "not_found",
"error_description": "Resource not found or access denied"
}
{
"error": "conflict",
"error_description": "A guardrail with that name already exists"
}
Guardrails
Update and Delete Guardrails
Update a guardrail’s name, description, or enabled state, or delete it
PATCH
/
v1
/
guardrails
/
{guardrailId}
curl -X PATCH https://api.telzino.com/v1/guardrails/11111111-1111-1111-1111-111111111111 \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "enabled": false }'
{
"success": true
}
// The patch body was empty — send at least one of name, description, enabled.
{
"error": "Invalid request data",
"details": [
{
"code": "custom",
"path": [],
"message": "At least one field is required"
}
]
}
{
"error": "not_found",
"error_description": "Resource not found or access denied"
}
{
"error": "conflict",
"error_description": "A guardrail with that name already exists"
}
Path Parameters
string
required
Guardrail ID (UUID).
Update a Guardrail
Partial update — send only the fields you want to change (at least one).string
New name, 1-100 characters, unique within the organization.
string | null
New rule text (up to 1000 characters), or
null to clear it.boolean
Set
false to pause the rule without deleting it — it stays listed but is
not injected into agent prompts.curl -X PATCH https://api.telzino.com/v1/guardrails/11111111-1111-1111-1111-111111111111 \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "enabled": false }'
{
"success": true
}
// The patch body was empty — send at least one of name, description, enabled.
{
"error": "Invalid request data",
"details": [
{
"code": "custom",
"path": [],
"message": "At least one field is required"
}
]
}
{
"error": "not_found",
"error_description": "Resource not found or access denied"
}
{
"error": "conflict",
"error_description": "A guardrail with that name already exists"
}
Delete a Guardrail
DELETE to the same path. Agents stop following the rule on their next call.
curl -X DELETE https://api.telzino.com/v1/guardrails/11111111-1111-1111-1111-111111111111 \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
"success": true
}
{
"error": "not_found",
"error_description": "Resource not found or access denied"
}
