Skip to content

Update a label

PATCH
/orgs/{org}/labels/{id}
org
required
string

Name of the organization

id
required
integer format: int64

Id of the label to edit

Media type application/json

EditLabelOption options for editing a label

object
color
string
Example
#00aabb
description
string
exclusive
boolean
Example
false
is_archived
boolean
Example
false
name
string

Label

Media type application/json

Label a label to an issue or a pr

object
color
string
description
string
exclusive
boolean
id
integer format: int64
is_archived
boolean
name
string
url
string
Example
{
"color": "00aabb",
"exclusive": false,
"is_archived": false
}

APINotFound is a not found error response

Media type application/json
object
errors
Array<string>
message
string
url
string
Example generated
{
"errors": [
"example"
],
"message": "example",
"url": "example"
}

APIValidationError is error format response related to input validation

Media type application/json
object
message
string
url
string
Example generated
{
"message": "example",
"url": "example"
}