Made in 10Docs
GuidesAPI
ReferenceGuardrails

Delete a guardrail set

Deletes it and detaches it from every character.

DELETE
/guardrails/{guardrail_id}

Authorization

secretKey
headerAuthorizationBearer <sk_live_… or sk_test_… (a prefix and 40 base62 characters)>

A secret key from the dashboard, sent as Authorization: Bearer sk_live_…. Live keys run real, charged calls; test keys (sk_test_…) run calls of at most 60 seconds, 20 a day per organization, never charged. Each key sees only its own env's calls, meetings, webhooks, memories and analytics. Publishable keys (pk_…) are refused.

Path Parameters

guardrail_id*string

The guardrail set's id.

Match^grd_[0-9A-Za-z]{20}$
Example"grd_8Vb3Np6XqL1sKw9TfM4c"

Response Body

Deleted.

application/json
  1. response
id*string

The id of what was deleted.

deleted*boolean
Example Request
curl -X DELETE 'https://api.daxov.com/v1/guardrails/grd_8Vb3Np6XqL1sKw9TfM4c'
Example Response
{  "id": "grd_8Vb3Np6XqL1sKw9TfM4c",  "deleted": true}