Cleanup Orphaned Invoice Rules

Clean up orphaned invoice rules that are not referenced by any budget_rules_groups.

This is a maintenance endpoint that removes invoice rules that may have been left behind due to incomplete updates or system issues.

Returns the number of orphaned rules that were cleaned up.

post/api/v1/budget_rules/cleanup-orphaned-invoice-rules

Query parameters

plan_manager_idstring nullable

Response

Successful Response

{"stackTrail":"paths:/api/v1/budget_rules/cleanup-orphaned-invoice-rules:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.