# Edit a comment (legacy) **PATCH /comments/case/{caseId}/message/{messageId}/{commentId}** Edits the caller's own comment on a message. Prefer PATCH /comments/case/:caseId/:commentId. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Access token ## Parameters ### Headers - **organization** (string) id of the selected (active) organization ### Path parameters - **messageId** (string) Id of the message - **commentId** (string) Id of the comment to update - **caseId** (string) Id of the case ### Body: application/json (object) Updated comment - **text** (string) ## Responses ### 201 #### Body: application/json (object) - **data** (object) - **statusCode** (number) - **timestamp** (string(date-time)) [Powered by Bump.sh](https://bump.sh)