---
title: "Update a transaction label"
method: PATCH
path: "/v1/transaction_labels/{transaction_label_id}"
tags: ["Transaction label"]
---

# Update a transaction label

`PATCH /v1/transaction_labels/{transaction_label_id}`

Updates a transaction label's `label` and/or `color`. The caller must be a member of the
label's company. Returns the updated label.

## Path parameters

- `transaction_label_id` string, uuid, required

## Headers

- `company-id` string, uuid, required

## Request body

- TransactionLabelUpdate — Payload to update a transaction label. All fields are optional; only the provided fields are changed. The caller must be a member of the label's company.
  - `label` string
  - `color` string, nullable

## Response `200`

Label updated

- TransactionLabel — A transaction label — a company-scoped tag that can be associated with transactions.
  - `id` string, uuid, required
  - `label` string, required
  - `color` string, nullable
  - `company_id` string, uuid
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `401` — Unauthorized
- `404` — Label not found
- `422` — Validation error

---

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