DELETE
/v1/guardrails/{guardrail_id}Delete a guardrail
Delete one of your guardrails. New requests stop being checked within a minute.
Authentication: Bearer API key in the Authorization header
Path parameters
guardrail_idstringrequiredThe guardrail id.
Responses
200The guardrail is deleted.
Response
deletedbooleanrequired
401Missing, unknown or revoked API key.
403The key is not a provisioning key, or the resource is read-only (
tag_read_only,guardrail_read_only).Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one.
404The resource does not exist or belongs to another organization. An organization without access gets this answer on every route.
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one.
Request
curl -X DELETE 'https://api.experientiallabs.ai/v1/guardrails/00000000-0000-4000-8000-000000000011' \
-H "Authorization: Bearer <YOUR_API_KEY>"Response
{
"deleted": true
}https://api.experientiallabs.ai/v1/guardrails/00000000-0000-4000-8000-000000000011