UpdateCategory
Ynab_UpdateCategoryUpdate a YNAB category's name, note, group, or target. Rename, move, set or remove goals. Only provided fields change.
Instructions
Rename a category, change its note or group, or set or remove its target (goal). Only the fields you pass change. (YNAB's API can't hide or unhide categories.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name. | |
| note | No | New note. Pass an empty string to clear it. | |
| plan_id | No | The YNAB plan (budget) ID. Defaults to 'last-used', the plan the user opened most recently. Use ListPlans to find other plan IDs. | |
| category_id | Yes | The category to change. | |
| goal_target | No | Target amount in currency units. Creates a 'Needed for spending' target if the category has none. | |
| remove_goal | No | Remove the category's target entirely. | |
| goal_frequency | No | Make the target repeat monthly, weekly or yearly. Requires goal_target. | |
| goal_target_date | No | Target date (YYYY-MM-DD). Can't combine with frequency. | |
| category_group_id | No | Move the category to this group. | |
| goal_needs_whole_amount | No | true = 'Set aside another' the target each period; false = 'Refill up to' the target. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||