Delete a guardrail
DELETE
/v1/guardrails/{slug}Delete a guardrail.
Deletes the guardrail. Requires an admin of the guardrail's workspace, or an organization admin. 409 while a virtual key, or an MCP connector or endpoint, still applies it: the message names them, and they must be detached first. 404 when the guardrail does not exist.
Authorization
AuthorizationBearer va_A platform API key (
va_...), created under Settings > API keys. Scoped to an organization or one workspace, with an admin or member role. Used by the management API.
Path parameters
slugstringrequiredthe guardrail's slug
Query parameters
organizationstringrequiredslug of the organization that owns it
Responses
204
No Content