---
title: "PATCH /api/public/labels/{labelId}"
method: PATCH
path: "/api/public/labels/{labelId}"
tags: ["Labels"]
---

# PATCH /api/public/labels/{labelId}

`PATCH /api/public/labels/{labelId}`

Rename a label or change its color.

## Path parameters

- `labelId` string, required

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `text` string
  - `color` string — Tailwind color key, e.g. "green-500"

## Response `200`

Successful response

- object — Successful response
  - `data` object
    - `id` string
    - `text` string
    - `color` string
    - `coachId` string

## Other responses

- `400` — Default Response
- `401` — Default Response
- `403` — Default Response
- `404` — Default Response
- `409` — Default Response
- `429` — Default Response
- `500` — Default Response

---

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