Update a label

Partially updates the label identified by the given ID (JSON merge-patch). Only fields present in the request body are changed; omitted fields are left unchanged and a null ai_context clears it. Returns the full updated label. Requires workspace-level label management permission.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^la_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Unique identifier of the label.

Body Params

Request body to partially update a label (PATCH, JSON merge-patch). Omitted fields are left unchanged. ai_context may be set to null to clear it; name and color cannot be null.

string
length between 2 and 255

Display name of the label. Must be unique within the workspace (case-insensitive).

string
#[0-9a-fA-F]{6}

Hex color code of the label (e.g., #FF5733).

string | null

Context describing the label's meaning to AI features (e.g., LINA translation agents).

Headers
string

Optional precondition. Send the quoted ETag from a GET of this resource. The mutation only runs if a strong tag matches the current representation, checked under the write lock. A comma-separated list is allowed; '*' requires an existing representation. Weak tags never match. Omit this header for an unconditional write. For an action, use the ETag from GET of the target resource, without the action suffix. A stale tag returns 412; read the current state before retrying.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json