---
title: "Update issue label"
method: PATCH
path: "/api/v1/issue-labels/{labelId}"
tags: ["issues"]
---

# Update issue label

`PATCH /api/v1/issue-labels/{labelId}`

## Request

- Base URL: `https://api.capy.ai`
- URL: `https://api.capy.ai/api/v1/issue-labels/{labelId}`
- Auth: HTTP bearer

## Path parameters

- `labelId` string, required

## Request body

- UpdateIssueLabelRequest
  - `name` string
  - `color` 'gray' | 'blue' | 'purple' | 'pink' | 'red' | 'orange' | 'yellow' | 'lime' | 'green'

## Response `200`

IssueLabelList

- IssueLabelListEncoded
  - `items` IssueLabelEncoded[], required
    - `id` string, required
    - `name` string, required
    - `color` union, required
      - 'gray' | 'blue' | 'purple' | 'pink' | 'red' | 'orange' | 'yellow' | 'lime' | 'green'
      - string

## Other responses

- `400`: capy/InvalidRequest
- `401`: capy/Unauthorized
- `403`: capy/Forbidden
- `404`: capy/IssueNotFound
- `429`: capy/RateLimited

## Changes

- **2026-10-31** `e3be47264feb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/capy/apis/capy-api/changes/api/v1/issue-labels/:labelId/patch.md)

---

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