Edit a comment
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Owner of the repo
Name of the repo
This parameter is ignored
Id of the comment to edit
Request Body
Section titled “ Request Body ”EditIssueCommentOption options for editing a comment
object
The body of the comment
The time of the comment’s update, needs admin or repository owner permission
Example generated
{ "body": "example", "updated_at": "2026-04-15T12:00:00Z"}Responses
Section titled “ Responses ”Comment
Comment represents a comment on a commit or issue
object
The attachments to the comment
Attachment a generic attachment
object
The body of the comment
The time of the comment’s creation
The HTML URL of the comment
The identifier of the comment
The HTML URL of the issue if the comment is posted on an issue, else empty string
The original author that posted the comment if it was not posted locally, else empty string
The ID of the original author that posted the comment if it was not posted locally, else 0
The HTML URL of the pull request if the comment is posted on a pull request, else empty string
The time of the comment’s update
User represents a user
object
Is user active
URL to the user’s avatar
The user’s description
User counts
The user’s full name
URL to the user’s profile page
The user’s id
Is the user an administrator
User locale
The user’s location
The user’s username
The user’s authentication sign-in name.
Is user login prohibited
The user’s pronouns
Is user restricted
The ID of the user’s Authentication Source
User visibility level option: public, limited, private
The user’s website
Example
{ "assets": [ { "type": "attachment" } ], "user": { "login_name": "empty" }}APIEmpty is an empty response
APIForbiddenError is a forbidden error response
object
Example generated
{ "message": "example", "url": "example"}APINotFound is a not found error response
object
Example generated
{ "errors": [ "example" ], "message": "example", "url": "example"}APIInternalServerError is an error that is raised when an internal server error occurs
object
Example generated
{ "message": "example", "url": "example"}