---
title: "Update Label"
method: POST
path: "/api/v1/labels/{label_id}"
tags: ["Labels"]
---

# Update Label

`POST /api/v1/labels/{label_id}`

Update a personal label.

At least one mutable field must be provided. Passing `null` for an optional
field keeps the existing value unchanged.

## Path parameters

- `label_id` integer, required — String ID of the label

## Request body

- Body9c41452d
  - `name` string, nullable — Updated label name. Passing null or omitting this field will leave it unchanged.
  - `order` integer, nullable — Position of the label in the label list. Passing null or omitting this field will leave it unchanged.
  - `color` union
    - 'berry_red' | 'red' | 'orange' | 'yellow' | 'olive_green' | 'lime_green' | 'green' | 'mint_green' | 'teal' | 'sky_blue' | 'light_blue' | 'blue' | 'grape' | 'violet' | 'lavender' | 'magenta' | 'salmon' | 'charcoal' | 'grey' | 'taupe'
    - 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49
  - `is_favorite` boolean, nullable — Whether the label is marked as a favorite. Passing null or omitting this field will leave it unchanged.

## Response `200`

Successful Response

- LabelRestView
  - `id` string, required — String ID of the label.
  - `name` string, required — Label name.
  - `color` string, required — Label color name.
  - `order` integer, nullable, required — Position of the label in the label list, or `null` when no explicit order is set.
  - `is_favorite` boolean, required — Whether the label is marked as a favorite.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/todoist/apis/todoist-api.md) · [All operations](https://skmtc.net/todoist/apis/todoist-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/todoist/todoist-api/revisions/69a962f1578f/schema)
