App Logo
linkedin.com

LinkedIn — Delete post

Permanently delete one of the logged-in member's own LinkedIn posts by its permalink, via the post's own control menu (••• > Delete post > confirm). If the post is already gone, it returns already_deleted instead of throwing an error. Refuses to guess on a post that isn't the account's own (no Delete option in the control menu).

Input

url required

The post's permalink, e.g. https://www.linkedin.com/feed/update/urn:li:activity:.../ or urn:li:share:.../ — as returned by create_post, get_post, or get_profile_posts (repost permalinks work too). Query string is stripped.

Output

url required

The permalink acted on (query string stripped).

deleted required

True once this run's own Delete confirmation went through.

account_used required

The real account the deletion was performed under, echoed from the session/UI.

already_deleted required

True only when the post was positively shown to be gone before this run acted — a rendered not-found state, or the activity absent from the account's own recent-activity feed. Never inferred from a missing control menu.

verified_on_page required

True if the script independently confirmed the deletion took effect — not just that the confirm click went through.

Start building not clicking