Skip to main content
DELETE
/
api
/
rules
/
{ruleId}
curl -X DELETE https://api.linquid.io/api/rules/rule_def456 \
  -H "Authorization: Bearer <token>"
ruleId
string
required
Rule identifier

Access

  • Permission: rules:delete
Behavior:
  • Rule is soft-deleted.
  • Deletion is blocked while rule is attached to any links (direct or via junctions).
  • API returns attached link references when blocked.
curl -X DELETE https://api.linquid.io/api/rules/rule_def456 \
  -H "Authorization: Bearer <token>"

Common Errors

  • 400: RULE_IN_USE (detach from links first)
  • 404: rule not found