Skip to main content
Update Comment
Updates a comment’s content, its metadata, or both. Only the comment’s author, or a request with a service or master key, can update a comment. Authentication required.

Path Parameters

string
required
The UUID of the comment to update.

Body Parameters

Both fields are individually optional, but at least one must be provided.
string
The new text content for the comment. Cannot be empty. Omit to leave the existing content untouched.
object
Arbitrary JSON metadata, up to 1 MB. Replaces the stored metadata wholesale rather than merging into it.

Response

Returns the updated Comment object.

Error Responses

Returned when neither content nor metadata is supplied, when content is an empty string, or when metadata exceeds 1 MB.