expenditures

Rename Subgroup

Rename a subgroup by rewriting subgroup_key on every active item in (category, subgroup_key) to new_subgroup_key. Each touched item is flagged manual_override=True, and any subgroup-scoped query threads on the old key are carried over so their open-query badge follows the rename.

Rejected (400) for the salaries bucket — its keys are synthesised per employee identity. Rejected (409) if the new name already exists in the category, to avoid a rename silently becoming a merge.

post/claims/{claim_id}/expenditures/subgroups/rename

Request

  • Base URL
    https://api.claimkit.co (the document declares no server; this is the origin it was published from)
  • URL
    https://api.claimkit.co/claims/{claim_id}/expenditures/subgroups/rename
  • Auth
    none declared

Path parameters

claim_idinteger required

Request body

categorystring required
subgroup_keystring required
new_subgroup_keystring required

Response

Successful Response

updated_countinteger required

Changes

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