v2

latestOpenAPI 3.0.3AGPL-3.0 license2026-07-2613501.9 MB
actions

Delete one of your LinkedIn comments

Permanently delete a comment you posted (or one on your own post). LinkedIn checks ownership server-side and returns 403 otherwise. Idempotent — already-deleted comments return success with alreadyGone=true. Pass the full comment URN in 'urn:li:comment:(activity:POST_ID,COMMENT_ID)' shape (ugcPost / share also accepted).

post/delete/linkedin/comment

Request body

commentUrnstring required

Full comment URN to delete (e.g. urn:li:comment:(activity:7327726660852629504,7460399586222727168))

Response

Comment deleted (or already gone)

successtrue required
creditsUsedinteger required

Credits consumed by this call (0 for free endpoints, cached results, or duplicates).

retryAfterinteger required

Seconds to wait before making another call of the same type. 0 means no wait needed.