Skip to main content
Labels are workspace-scoped metadata attached to issues. Every endpoint requires an authenticated session and workspace context. Read routes are available to any workspace member; create requires the create role and update/delete require the manage role.

Endpoints

Label shape

List labels

Returns a JSON array ordered by name ASC. Labels from other workspaces are not returned.

Create a label

name and color are required; label_group is optional. Returns 201 Created with the label shape. Invalid JSON or a missing required field returns 400; insufficient role returns 403.

Update a label

All fields are optional, but at least one of name, color, or label_group must be supplied. Returns 200 OK with the updated label. An empty patch returns 400; a label outside the current workspace returns 404.

Delete a label

Returns 204 No Content. Deleting an unknown or cross-workspace label returns 404. See also Issues, which exposes label assignment on issue mutations.