SetGuardrailStatus
POST/v1/customers/:customer_id/projects/:project_id/guardrails/:id/status
SetGuardrailStatus updates the status and/or enabled flag of a guardrail. At least one of status/enabled must be provided; otherwise INVALID_ARGUMENT. Returns PERMISSION_DENIED when the target guardrail is a template (is_template=true); templates are instantiated via CreateGuardrailFromTemplate, never mutated.
Request
Responses
- 200
Success