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

# Update expense category

`PUT /v3/expense/category/{id}`

## Request body

- ExpenseCategoryRequest
  - `name` string, required
  - `color` string, required
  - `unitPrice` integer, nullable
  - `unitName` string, nullable
  - `currencyId` integer, required

## Response `200`

OK

- object
  - `message` string
  - `data` ExpenseCategoryResponse
    - `id` integer
    - `name` string
    - `color` string
    - `unitPrice` integer, nullable
    - `unitName` string, nullable
    - `currencyId` integer
    - `createdAt` string
    - `updatedAt` string, nullable

## Other responses

- `403` — The authenticated OAuth2 access token or PAT does not contain any scope accepted by the endpoint.

---

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