Tags

Update Tag

PATCH
/v1/households/{household_id}/tags/{tag_id}

Updates a tag's name or color. Send only the fields you want to change; omitted fields keep their latest values, including edits made by another client.

Send color: null to clear the color (name cannot be null). Existing transaction assignments and rule references stay intact.

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.

tag_id*string

ID of the tag.

Request Body

application/json

name?string

Display name. Must be unique among the household's active tags, ignoring case.

Length1 <= length <= 255
color?|

Display color as a #RRGGBB hex string. The format is not validated beyond the 7-character limit. Send null for a tag with no color.

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/tags/Tg8qN1cK5rWd" \  -H "Authorization: Bearer $PENNY_API_TOKEN" \  -H "Content-Type: application/json" \  --data-raw '{  "color": "#6D5BD0"}'
{  "id": "Tg8qN1cK5rWd",  "name": "Shared",  "color": "#6D5BD0",  "transaction_count": 12}