create role and update/delete
require the manage role.
Endpoints
Label shape
List labels
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
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
204 No Content. Deleting an unknown or cross-workspace label returns
404.
See also Issues, which exposes label assignment on
issue mutations.