delete_category
Delete a category or category group, optionally force-removing it from all related budgets, transactions, and recurring items. Force delete is irreversible.
Instructions
Delete a single category or category group. By default fails (HTTP 422) if dependencies exist, returning a structured dependents payload. Set force=true to delete and disassociate from all related budgets, transactions, recurring items, etc. Force delete is irreversible.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category_id | Yes | Id of the category or category group to delete. | |
| force | No | If true, force deletion even if dependencies exist (irreversible). |