> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getarca.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Update label

> Updates one or more properties of a label. Only the fields you include are changed.

<Info>
  Requires the `workspaces:write` scope. Only workspace owners and admins can update labels.
</Info>

## Path parameters

<ParamField path="id" type="string" required>
  The numeric label ID.
</ParamField>

## Request body

All fields are optional. Send only the fields you want to update.

<ParamField body="name" type="string">
  New label name.
</ParamField>

<ParamField body="color" type="string">
  New color value.
</ParamField>

## Response

Returns the full updated label object.

<ResponseField name="id" type="number" required>Label identifier.</ResponseField>
<ResponseField name="workspace_id" type="number" required>Workspace this label belongs to.</ResponseField>
<ResponseField name="name" type="string" required>Label name.</ResponseField>
<ResponseField name="color" type="string | null">Color value.</ResponseField>
<ResponseField name="created_at" type="string" required>UTC ISO-8601 creation timestamp.</ResponseField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": 5,
    "workspace_id": 3,
    "name": "Tech Debt",
    "color": "orange",
    "created_at": "2026-04-11T10:45:00.000Z"
  }
  ```

  ```json 401 theme={null}
  {
    "error": "Invalid API key"
  }
  ```

  ```json 403 theme={null}
  {
    "error": "Only owners and admins can edit labels"
  }
  ```

  ```json 404 theme={null}
  {
    "error": "Label not found"
  }
  ```

  ```json 409 theme={null}
  {
    "error": "A label with this name already exists"
  }
  ```
</ResponseExample>
