DELETE
/repos/{owner}/{repo}/issues/comments/{comment_id}/pinUnpin an issue comment
Unpins a specific issue comment from a repository. Supply owner, repo, and comment_id to identify the repository and comment whose pin you want to remove. A successful response contains no response body.
- 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.
comment_idintegerrequired
The unique integer identifier of the issue comment to unpin.
204Confirms that the issue comment was unpinned successfully and returns no response body.
401Returned when authentication is required to unpin the issue comment.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
403Returned when the authenticated user is not permitted to unpin the issue comment.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
404Returned when the repository or issue comment does not exist.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
410Returned when the requested resource is gone.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
503Returned when the service is unavailable.
codestringoptional
messagestringoptional
documentation_urlstringoptional
Error handling
A 401 is returned when authentication is required, and a 403 is returned when the authenticated user cannot perform the operation. A 404 is returned when the repository or comment cannot be found, while a 410 indicates the resource is gone. A 503 is returned when the service is unavailable; comment_id must be an integer.