Skip to main content
PATCH
/
:projectId
/
api
/
v7
/
comments
/
:commentId
Update Comment
curl --request PATCH \
  --url https://api.replyke.com/api/v6/:projectId/api/v7/comments/:commentId \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "<string>"
}
'
Updates the text content of a comment. Only the comment’s author, or a request with a service or master key, can update a comment. Authentication required.

Path Parameters

commentId
string
required
The UUID of the comment to update.

Body Parameters

content
string
required
The new text content for the comment. Cannot be empty.

Response

Returns the updated Comment object.

Error Responses

{ "error": "Comment not found", "code": "comment/not-found" }
{ "error": "You do not have permission to update this comment.", "code": "comment/forbidden" }