v2

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

Edit a comment

Edit the text of an existing LinkedIn comment. Provide either fsdCommentUrn (preferred, from comment API response) or the legacy commentUrn format. Returns not_found if the comment does not exist or URN is malformed, forbidden if it's not your comment.

post/edit/linkedin/comment

Request body

fsdCommentUrnstring

urn:li:fsd_comment:(COMMENT_ID,urn:li:ugcPost:POST_ID) - from comment API response

commentUrnstring

Legacy comment URN format

textstring required

New comment text

Response

Comment edited

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.