patch
https://api.superwise.ai/v1/guardrails/versions/
Patch a guardrail version.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Updates the name or description of a guardrail version.
When to use it
Use it to rename a version or correct its description. To change the rules, use Create a guardrail version.
Required parameters
guardrail_version_id(path): the ID of the guardrail version.
Optional body fields: name, description.
Response
A successful call returns 200 OK with the GuardrailVersionSchema object: id, guardrail_id, name, description, guardrules, and timestamps.
Related: List guardrail versions, Create a guardrail version
401Unauthorized
404Not Found
422Unprocessable Entity
500Internal Server Error