delete_category
Remove a category or category group from LunchMoney. Blocks deletion if dependencies exist, unless force is enabled to permanently disassociate linked budgets, transactions, and recurring items.
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 |
|---|---|---|---|
| force | No | If true, force deletion even if dependencies exist (irreversible). | |
| category_id | Yes | Id of the category or category group to delete. |