DELETE/repos/{owner}/{repo}/issues/{issue_number}/labels

Remove all labels from an issue

Removes all labels from an issue in a repository. Use owner, repo, and issue_number to identify the issue whose labels you want to clear.

3 parameters
ownerstringrequired
The account owner of the repository; the name is not case-sensitive.
repostringrequired
The repository name without the `.git` extension; the name is not case-sensitive.
issue_numberintegerrequired
The number that identifies the issue.

4 status codes
204Returns no response body after removing all labels from the issue.
301Returned when the resource has moved permanently.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
404Returned when the repository or issue cannot be found.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
410Returned when the resource is no longer available.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 404 is returned when the repository or issue cannot be found. A 410 is returned when the resource is no longer available. The owner, repo, and issue_number path parameters must identify the target issue.