Update API \ Delete a post from a LinkedIn user profile
Update API Resources
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 user profile:
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.
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. You can use our Push API to publish posts on behalf of a user.
Result: the code returned by the API
Resultset Example
{ "response": { "request": { "date": "Fri, 04 Oct 2019 09:54:46 +0200", "resource": "/update/identities/95681432-e02d-4a0b-ac6a-5c59d0e1fdfd/linkedin/post/6583326681593860096.json", "status": { "flag": "success", "code": 200, "info": "The post has successfully been removed." } } } }