Categories

Update Category Group

PATCH
/v1/households/{household_id}/category-groups/{group_id}

Renames a category group. Its type and existing category assignments are preserved.

Omitting name leaves the group unchanged. The new name must be unique within the household.

Authorization

PersonalApiToken
AuthorizationBearer <token>

Personal API token (penny_pat_…). Paste only the token; the Bearer prefix is added automatically. Read-only tokens only allow read requests, and read/write tokens follow your current household membership and role. See https://penny.finance/docs/api#authentication.

In: header

Path Parameters

household_id*string

ID of the household that owns the resource. GET /v1/households lists the households you can access.

group_id*string

ID of the category group.

Request Body

application/json

name?string

New display name. Must be unique among the household's category groups, ignoring case.

Length1 <= length <= 255

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://api.penny.finance/v1/households/Hh4vK8pQ2sLm/category-groups/Cg2mV7pL4zXe" \  -H "Authorization: Bearer $PENNY_API_TOKEN" \  -H "Content-Type: application/json" \  --data-raw '{}'
{  "id": "Cg2mV7pL4zXe",  "name": "Everyday Expenses",  "group_type": "expense"}