Edit a comment

View as Markdown

Edits a comment’s body and mentions. Author-only (even project:manage cannot rewrite another author’s words) — a non-author edit returns 403. Requires playbook-task:do on the project.

Authentication

AuthorizationBearer

WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.

Path parameters

projectIdstringRequired
threadIdstringRequired
commentIdstringRequired

Request

This endpoint expects an object.
bodystringRequired1-10000 characters
mentionedUserIdslist of stringsOptionalDefaults to []

Response

The updated comment.
commentmap from strings to any
A thread comment.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error