curl -X DELETE "https://app.runtm.com/api/cloud/org-templates/tmpl_abc123/guardrails/tg_4b2c" \
-H "Authorization: Bearer runtm_xxx" \
-H "X-Organization-Id: org_abc123"
runtm-api template guardrails delete tmpl_abc123 tg_4b2c --yes
{}
Guardrails
Delete Template Guardrail
Remove a template guardrail
DELETE
/
api
/
org-templates
/
{template_id}
/
guardrails
/
{guardrail_id}
curl -X DELETE "https://app.runtm.com/api/cloud/org-templates/tmpl_abc123/guardrails/tg_4b2c" \
-H "Authorization: Bearer runtm_xxx" \
-H "X-Organization-Id: org_abc123"
runtm-api template guardrails delete tmpl_abc123 tg_4b2c --yes
{}
Deletes the guardrail and returns
204. To stop enforcing while keeping the definition, prefer Update with "enabled": false.
Required scope: guardrails:write
Path Parameters
string
required
The template ID.
string
required
The guardrail ID.
curl -X DELETE "https://app.runtm.com/api/cloud/org-templates/tmpl_abc123/guardrails/tg_4b2c" \
-H "Authorization: Bearer runtm_xxx" \
-H "X-Organization-Id: org_abc123"
runtm-api template guardrails delete tmpl_abc123 tg_4b2c --yes
{}