---
title: "PATCH /categories/{id}"
method: PATCH
path: "/categories/{id}"
tags: ["categories"]
---

# PATCH /categories/{id}

`PATCH /categories/{id}`

## Request

- Base URL: `https://api.betteroff.finance`
- URL: `https://api.betteroff.finance/categories/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Headers

- `If-Match` string

## Request body

- object
  - `label` string
  - `colorVar` string
  - `colorHex` string, nullable
  - `icon` string, nullable

## Response `200`

Success

## Other responses

- `412`: The record changed since the If-Match version. Fetch it again and retry.
- `default`: Problem details

---

[API](https://skmtc.dev/betteroff/apis/betteroff-api.md) · [All operations](https://skmtc.dev/betteroff/apis/betteroff-api/llms.txt) · [OpenAPI document](https://skmtc.dev/betteroff/apis/betteroff-api/revisions/bc858c8d428d?raw)
