DELETE
/repos/{owner}/{repo}/issues/{issue_number}/labelsRemove all labels from an issue
Removes every label from a specific issue in a repository. Use owner, repo, and issue_number to identify the issue whose labels should be cleared. The operation returns no response body when the labels are removed successfully.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
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 integer identifying the issue from which all labels should be removed.
204Returns no content after all labels have been removed from the issue.
301Returned when the repository or issue URL has moved permanently.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
404Returned when the specified repository or issue cannot be found.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
410Returned when the endpoint is no longer available.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
Error handling
A 404 is returned when the specified repository or issue cannot be found. A 410 is returned when the endpoint is no longer available. owner, repo, and issue_number must identify the issue whose labels you want to remove.