Update API \ Delete a post from a LinkedIn company page

Resource/URI PUT DELETE
Facebook · Page Post /update/identities/<identity_token>/facebook/page/<pageid>/post/<postid>.json Update Page Post Delete Page Post
Facebook · Page Picture /update/identities/<identity_token>/facebook/page/<pageid>/picture/<pictureid>.json - Delete Page Picture
Facebook · Page Video /update/identities/<identity_token>/facebook/page/<pageid>/video/<videoid>.json - Delete Page Video
Pinterest · Pin /update/identities/<identity_token>/pinterest/pin/<pinid>.json Delete Pin
Twitter · Tweet /update/identities/<identity_token>/twitter/post/<postid>.json - Delete Tweet
YouTube · Channel Section /update/identities/<identity_token>/youtube/channel/section/<channel_sectionid>.json Update Channel Section Delete Channel Section
YouTube · Playlist /update/identities/<identity_token>/youtube/playlist/<playlistid>.json Update Playlist Delete Playlist
YouTube · Playlist Video /update/identities/<identity_token>/youtube/playlist/<playlistid>/video/<videoid>.json - Delete Playlist Video

Workflow

Request: the code to send to the API

Send an API request to the following endpoint to delete a post from a LinkedIn company page:

DELETE /update/identities/<identity_token>/linkedin/post/<post_id>.json

The <identity_token> is obtained whenever one of your users connects using LinkedIn. The the <post_id> must be the identifier of a post published on the given user's profile.

Workflow

Request: the code to send to the API

Send a DELETE request with the data below to the endpoint /update/identities/<identity_token>/linkedin/company/post/<contentid>.json to share a new message on behalf of a LinkedIn user.

The <identity_token> is obtained whenever one of your users connects using a social network account. The <contentid> must be an identifier of a post on the page of a LinkedIn company.

To be able to use this endpoint LinkedIn must be fully configured for your OneAll Site and the user must have given consent to publish content on his behalf when he logged in with LinkedIn.

Result: the code returned by the API

Resultset Example

{
  "response":{
    "request":{
      "date": "Fri, 27 Sep 2019 12:00:53  0200",
      "resource": "/update/identities/498ac3a3-ec9d-4a56-ba4a-0a3f3960145d/linkedin\/company\/post\/6583326681593860096.json",
      "status":{
        "flag": "success",
        "code": 200,
        "info": "Your request has been processed successfully"
      }
    },
    "result":{
      "data":{
        "provider": "linkedin",
        "object": "post",
        "success": true
      }
    }
  }
}
	

User Contributed Notes