Update a label
PATCH {{baseUrl}}/repos/:owner/:repo/labels/:name
Request Body
{"new_name"=>"<string>", "color"=>"<string>", "description"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"id":208045946,"node_id":"MDU6TGFiZWwyMDgwNDU5NDY=","url":"https://api.github.com/repos/octocat/Hello-World/labels/bug%20:bug:","name":"bug :bug:","description":"Small bug fix required","color":"b01f26","default":true}