Destructive

Delete LinkedIn Comment

Targets a LinkedIn comment for permanent deletion using its comment_id and the parent_post_id that contains it. This action is preview-required and irreversible, but it cannot be completed programmatically today and returns not_implemented, so you finish the deletion in the LinkedIn interface. Use it to locate and confirm the exact comment to remove.

delete_commentDELETE/api/v1/content/posts/{parent_post_id}/comments/{comment_id}
crispy — bash

Example prompt: Find the comment cmt_998 on post urn:li:activity:7123456789 so I can remove it

{
  "status": "not_implemented",
  "comment_id": "cmt_998",
  "parent_post_id": "urn:li:activity:7123456789",
  "message": "Delete this comment from the LinkedIn UI."
}
Permission scope
core
Access
Destructive
Category
Content

What you can build

Pin down the exact comment and parent post before removing it manually
Confirm comment ownership and context ahead of cleanup in the UI
Stage a deletion as part of a moderation workflow on your posts
Identify an off-brand comment to take down on a high-traffic post

Parameters

Inputs accepted by delete_comment.

NameTypeDescription
comment_idstringID of the comment to delete (e.g. from list_post_comments)
parent_post_idstringID of the post that contains the comment (e.g. from list_posts)

The complete LinkedIn API. Ready when you are.

Connect your first LinkedIn profile in under 5 minutes. Every tool, every seat, no feature gates. Safe limits, warm-up, and full permission control built in.