---
title: "Update a Label"
method: PUT
path: "/customers/labels/{labelId}"
tags: ["Labels"]
---

# Update a Label

`PUT /customers/labels/{labelId}`

Updates the given `Label`. The change applies retroactively
everywhere the label is currently attached — there is no
versioning, so renaming a label changes how it appears against
every customer that already carries it.

## Request body

- object
  - `value` string — Display text shown on the label badge against a customer. Operator-facing only — there is no guest-visible surface for labels. Limited to 20 characters so the badge fits in customer-list rows.
  - `colour` string — A hex colour code excluding the preceding \# which this label will be rendered as.

## Response `200`

The label was successfully retrieved

- object
  - `data` SchemasLabel2, required — A `Label` is an organisation-wide tag that can be attached to customers, orders, and other resources to categorise them for reporting and filtering purposes.
    - `id` string, uuid, required — The ID of the label
    - `value` string, required — The name of the label
    - `colour` string, required — A hex colour code excluding the preceding \# which this label will be rendered as.
    - `organisation_id` string, uuid, required — The organisation which this label belongs to
    - `created_at` string, date-time, required — The datetime which the label was created
    - `updated_at` string, date-time, required — The datetime which the label was last updated

## Other responses

- `401` — The user is unauthenticated
- `403` — The authenticated user does not have permission.
- `404` — The resource couldn't be found
- `422` — The request didn't pass validation

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
