Books
Delete a categorization rule
Changed onDeletes one categorization rule of a Books instance by ID, so it no longer categorizes transactions from now on. Ledgers, i.e. general ledger (GL) accounts, that the rule already applied to transactions stay in place; deleting a rule does not un-categorize anything. Only rules that getBooksCategorizationRules returns can be deleted; any other ID, including the organization's other automation rules that Books doesn't show, is a 404. To find rule IDs, use getBooksCategorizationRules. Returns no content on success, and 404 otherwise.
delete/books/rule/{ruleId}
Request
- Base URLhttps://api.mercury.com/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ruleIdstring uuid required
The ID of the categorization rule, as returned by getBooksCategorizationRules.
Query parameters
booksIdstring uuid
The Books instance to act on. Must be the token organization's own instance, which it defaults to.
Changes
- info
endpoint added
- info