/v1/tags/{tag_id}Delete a custom tag
Delete a tag your organization created. While a guardrail or a routing policy names the tag, the answer is 409 tag_in_use; remove the rule first.
Authentication: Bearer API key in the Authorization header
Path parameters
tag_idstringrequiredThe tag id.
Responses
200The tag 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.
409A guardrail or a routing policy still names the tag (
tag_in_use).Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one.
Request
curl -X DELETE 'https://api.experientiallabs.ai/v1/tags/internalConfidential' \
-H "Authorization: Bearer <YOUR_API_KEY>"Response
{
"deleted": true
}https://api.experientiallabs.ai/v1/tags/internalConfidential