/discussions/:discussionId/comments/:commentId

Replace a comment's text and mentions.

Path Params
uuid
required

The discussion id

uuid
required

The comment id

Body Params
string
required
length between 1 and 500
mentions
array of objects | null

Required on edit when the comment already has mentions: omitting it or sending null is 409. An empty array removes them. On a reply, null is the same as no mentions.

mentions
Responses
204

Comment updated. No response body.

400

Invalid body or mentions

403

You are not the author, or you cannot manage discussions

404

Discussion or comment not found

409

The comment has mentions and the request omitted mentions or sent null

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here!