Newer Version Available

This content describes an older version of this product. View Latest

Edit a Comment

Resource
/chatter/comments/commentId
HTTP method
PATCH
Request body
Comment Input

This Comment Input request body includes a body property that is a Message Body Input request body. In this example, the Message Body Input request body includes a messageSegments property that has one Message Segment Input: Text request body.

Request body example
1{   "body":{
2      "messageSegments":[
3         {
4            "type":"Text",
5            "text":"I am definitely going to check that out."
6         }
7      ]
8   }
9}
Returns
Comment