DELETEhttps://api.aitronos.com/v1/rules/{rule_id}
Soft-delete a rule by ID. Pass the owning organization_id as a query parameter. By default the request is rejected if the rule still has active attachments; set force=true to delete anyway.
rule_id string required
Rule ID (prefixed with rule_).
organization_id string required
Organization the rule belongs to (org_ prefixed).
force boolean optional ยท Defaults to false
Force delete even when the rule has active attachments.
Returns 204 No Content on success.
cURL
- Bash
- Python
- Python
- JavaScript
curl -X DELETE "https://api.aitronos.com/v1/rules/rule_abc123?organization_id=org_abc123&force=true" \
-H "Authorization: Bearer $ACCESS_TOKEN"