Categories

Delete Category

DELETE
/v1/households/{household_id}/categories/{category_id}

Deletes a category and clears it from all transactions, including those on deleted accounts. The transactions themselves are kept.

Rules that reference the category keep it in deleted_categories, match none of its transactions, and stop assigning it.

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.

category_id*string

ID of the category.

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://api.penny.finance/v1/households/Hh4vK8pQ2sLm/categories/Ct5nR8wY1jFu" \  -H "Authorization: Bearer $PENNY_API_TOKEN"
Empty