Delete banking rules

Delete banking rules in bulk. Provide ids, or explicitly set include to false to delete every rule matching the filters (and every rule outright when no filters are given); an empty body is rejected. The values the rules assigned to pending bank transactions are cleared.

Required permission: Full Write Accounting

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Return rules whose name contains the given text.

string

Comma-delimited list of bank account ids (from the chart of accounts). Returns rules limited to one of those accounts; rules that apply to all bank accounts always match.

double

Return rules with an amount condition of at least this value.

double

Return rules with an amount condition of at most this value.

string

Return rules with a description condition containing the given text.

string

Comma-delimited list of chart of account ids. Returns rules that assign one of those accounts to matching transactions.

string

Return rules that assign a payee whose name or aliases contain each word of the given text.

string

Return rules that assign a memo containing the given text.

boolean

If true, returns only rules that auto-confirm matching transactions; if false, only rules that require manual review.

boolean

If true, returns only active rules; if false, only inactive rules.

Body Params

The selection criteria

ids
array of doubles | null

The ids the operation applies to: an include list by default, or an exclude list when include is false. For deletes, required unless include is false.

ids
boolean | null

Whether ids is an include list (true, default) or an exclude list (false). Setting include to false with no ids applies the operation to every record matching the query filters.

Responses
200

OK

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!