Delete LinkedIn comment
Input
postUrl requiredLinkedIn post permalink (/feed/update/urn:li:activity:.../ or /posts/...).
commentUrn requiredThe 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 requiredTrue once this run's own Delete confirmation went through.
postUrl requiredcommentUrn requiredalready_deleted requiredTrue 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 optionalOnly 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.
