Remove a label from an issue
Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.
DELETE
/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Path Parameters
- owner stringrequired
- repo stringrequired
- issue_number integerrequired
issue_number parameter
- name stringrequired
Responses
application/json array[Label object]
Response
items Label objectColor-coded labels help you categorize and filter your issues (just like labels in Gmail).
items Label object
Color-coded labels help you categorize and filter your issues (just like labels in Gmail).
color string
required6-character hex code, without the leading #, identifying the color
Example: FFFFFF
default boolean
requiredExample: true
description string
requirednullable Example: Something isn't working
id integer<int64>
requiredExample: 208045946
name string
requiredThe name of the label.
Example: bug
node_id string
requiredExample: MDU6TGFiZWwyMDgwNDU5NDY=
url string<uri>
requiredURL for the label
Example: https://api.github.com/repositories/42/labels/bug
application/json Basic Error object
Resource not found
documentation_url string
optionalmessage string
optionalstatus string
optionalurl string
optionalapplication/json Basic Error object
Gone
documentation_url string
optionalmessage string
optionalstatus string
optionalurl string
optional