Update a Post

POST https://{{baseUrl}}/posts/{shared ID}/{ugcPosts ID}

The following posts field are available to update. Refer to Schema for complete field details.

FieldDescription
commentaryString
contentCallToActionLabelcontentCallToActionLabel text
contentLandingPageURL of the landing page
reshareContext
lifecycleState
adContext* dscName: Update the name of the sponsored content
* dscStatus: Update the status of the sponsored content

Request Body

{"patch"=>{"$set"=>{"commentary"=>"Update to the post", "contentCallToActionLabel"=>"LEARN_MORE"}}}

HEADERS

KeyDatatypeRequiredDescription
X-Restli-Protocol-Versionstring
Authorizationstring
LinkedIn-Versionstring