cURL
curl --request PATCH \ --url https://api.replyke.com/api/v6/:projectId/comments/:commentId \ --header 'Content-Type: application/json' \ --data ' { "content": "<string>" } '
{ "id": "<string>", "entityId": "<string>", "content": "<string>", "updatedAt": "<string>" }
Update an existing comment’s content
Missing Data - 400 Bad Request
{ "error": "Missing required data", "code": "comment/invalid-request" }
Forbidden - 403 Forbidden
{ "error": "You do not have permission to update this comment.", "code": "comment/forbidden" }
Not Found - 404 Not Found
{ "error": "Comment not found", "code": "comment/not-found" }
Server Error - 500 Internal Server Error
{ "error": "Internal server error.", "code": "comment/server-error", "details": "[error message]" }