Update a comment

Update an existing comment.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

OR
X-API-Keystring

Server-side API key (drzl_live_ prefix), least-privilege scoped. Keep it secret — never ship it to a browser or SPA. An alternative to a session JWT (HTTPBearer) on the developer surface. See docs/api/cors-and-auth.md.

Path parameters

comment_idstringRequiredformat: "uuid"

Headers

X-API-Keystring or nullOptional

Request

This endpoint expects an object.
contentstringRequired1-2000 characters

Response

Successful Response
contentstring
created_atdatetime
idstringformat: "uuid"
is_deletedboolean
is_editedboolean
likes_countinteger
market_idstringformat: "uuid"
updated_atdatetime
user_idstringformat: "uuid"
holder_badgeobject or null

A comment author’s position in the market (FP-70). Only present for holdings_visible authors (or the viewer’s own comments); size is a coarse band, never an exact count — no size leakage.

is_flaggedbooleanDefaults to false
is_hiddenbooleanDefaults to false
is_liked_by_meboolean or null
is_pinnedbooleanDefaults to false
mentionslist of objects or null
parent_idstring or nullformat: "uuid"
replieslist of objects or null
replies_countintegerDefaults to 0
userobject or null
Schema for user info in comment responses.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error