---
title: "Update a label"
method: PUT
path: "/labels/{id}"
tags: ["labels"]
---

# Update a label

`PUT /labels/{id}`

## Request

- Base URL: `https://corebee.ai/api/v1`
- URL: `https://corebee.ai/api/v1/labels/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Request body

- LabelCreate
  - `title` string, required
  - `description` string
  - `color` string
  - `show_on_sidebar` boolean

## Response `200`

Updated

- object
  - `data` Label, required
    - `id` string, uuid
    - `org_id` string, uuid
    - `title` string
    - `description` string, nullable
    - `color` string, nullable
    - `show_on_sidebar` boolean
    - `created_at` string, date-time

## Other responses

- `400`: Validation error
- `401`: Invalid or missing credential
- `404`: Not found

---

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