Skip to main content

Update a bank rule

PATCH 

/api/v1/bank_rules/:id

Updates the rule in place. Enabling and disabling is a PATCH of enabled rather than a separate endpoint. The precedence level is fixed at creation, so scope and company_id sent in the body are IGNORED rather than refused - which is what lets you read a rule and send the whole object back with one field changed. workspace_id is the exception - it is read by the shared workspace-grant gate, so echoing one your token holds no grant for is refused with 403. An Idempotency-Key is accepted and optional.

Request​

Responses​

The rule as it now stands.