Delete an automatic rule
DELETE/automatic-rules/:id
Hard-deletes a rule. Requires scope finance.automatic_rules.write. Surviving rules keep their positions (a gap is left — reorder to compact). Calling DELETE twice returns 200 then 404.
Request
Responses
- 200
- 401
- 403
- 404
- 429
- 500
Rule deleted.
Missing / invalid / expired / revoked token.
Token lacks the finance.automatic_rules.write scope.
Rule not found within the tenant.
Rate limit exceeded for this token. Reads and writes have separate budgets, both on a 1-hour sliding window. The response carries X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset and Retry-After — wait out Retry-After rather than retrying immediately.
Unhandled server error.