Edit a Feed Post

Edit a feed post in Chatter.
Resource
/chatter/feed-elements/feedElementId
HTTP method
PATCH
Request body
Feed Item Input

This Feed Item 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
{
   "body":{
      "messageSegments":[
         {
            "type":"Text",
            "text":"Check out the latest API documentation on developer.salesforce.com."
         }
      ]
   }
}
Returns
Feed Item