App Logo
linkedin.com

Delete LinkedIn comment

Permanently delete one of the logged-in member's own comments (or replies) on a LinkedIn post, by the post's permalink plus the comment's urn (from get_post_comments, comment_post, or reply_post_comment). Posts a real, permanent deletion under the logged-in account — this also removes all likes and replies on that comment. If the comment is already gone, it returns already_deleted instead of throwing an error. Refuses to guess on a comment that isn't the account's own (no Delete option in its control menu).

Input

postUrl required

LinkedIn post permalink (/feed/update/urn:li:activity:.../ or /posts/...).

commentUrn required

The comment's urn to delete, e.g. urn:li:comment:(urn:li:activity:123,456) or urn:li:comment:(activity:123,456) (from get_post_comments / comment_post / reply_post_comment). Works for both top-level comments and replies.

Output

deleted required

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

postUrl required
commentUrn required
already_deleted required

True if the comment could not be found on the post after a full hydrate-and-scroll pass -- treated as already gone, so nothing was clicked.

post_had_no_comments optional

Only meaningful when already_deleted is true. True when the post carries no comments at all (scrolled to the bottom of the comment container with zero comment nodes), false when other comments were present but not this one. A post that never hydrates past its skeleton still throws rather than reporting either.

FAQ

Permanently delete one of the logged-in member's own comments (or replies) on a LinkedIn post, by the post's permalink plus the comment's urn (from get_post_comments, comment_post, or reply_post_comment). Posts a real, permanent deletion under the logged-in account — this also removes all likes and replies on that comment. If the comment is already gone, it returns already_deleted instead of throwing an error. Refuses to guess on a comment that isn't the account's own (no Delete option in its control menu).
Required: postUrl, commentUrn.
It returns deleted, postUrl, commentUrn, already_deleted, post_had_no_comments.
Yes. It acts as you on linkedin.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the linkedin.com cookies saved by the Reduck extension.
It makes changes on linkedin.com, like sending, posting or booking something.
Ask an AI agent connected to Reduck to run reduck/linkedin.com/delete_comment, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/linkedin.com/delete_comment
It is part of Reduck's official curated catalogue.

Start building not clicking