latestOpenAPI 3.0.3AGPL-3.0 license2026-08-2011401.8 MB

a1e86af2406d

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, duplicates, and for every query that does not touch LinkedIn.

retryAfterinteger required

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