---
title: "Update an expense category"
method: PUT
path: "/expense_categories/{id}"
tags: ["Expense Categories"]
---

# Update an expense category

`PUT /expense_categories/{id}`

Updates an existing expense category

## Path parameters

- `id` integer, required

## Request body

- object
  - `name` string

## Response `200`

Successful response

- ExpenseCategory — Expense category resource
  - `id` integer
  - `team_id` integer
  - `name` string
  - `budget_amount` number, nullable
  - `budget_frequency` 'monthly' | 'quarterly' | 'yearly', nullable
  - `budget_rollover_on` boolean

## Other responses

- `401` — Unauthenticated
- `403` — Forbidden
- `404` — Not found
- `422` — Validation error

---

[API](https://skmtc.net/harpoonapp/apis/harpoon-api-documentation.md) · [All operations](https://skmtc.net/harpoonapp/apis/harpoon-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/harpoonapp/harpoon-api-documentation/revisions/e8fd192f94c6/schema)
