Update an ECO comment
Updates the text or mentions of a comment. Specify only the fields you want to change. The mentions field replaces the existing list of mentioned users.
You can update your own comments.
Required permission: Viewer or higher in the project.
Plan requirement: Business plan.
Authentication
AuthorizationBearer
An API key associated with your user account and workspace. API requests inherit your existing workspace permissions.
OR
AuthorizationBearer
The session token of a user signed in to the CAD ROOMS app. Every endpoint accepts it in place of an API key.
Path parameters
commentId
Unique identifier of the comment.
Request
This endpoint expects an object.
content
Text of the comment, in Markdown.
mentions
IDs of all users mentioned in the text.
Response headers
Request-Id
Request-Id. Unique identifier for the request. Every response, success or error, returns it. Error bodies carry the same value in requestId. Include it when contacting CAD ROOMS support.
Response
Returns the updated comment.
id
Unique identifier for the comment.
ecoId
ID of the ECO.
replyToCommentId
ID of the comment this one replies to, or null if it is not a reply.
content
Text of the comment, in Markdown.
mentions
Users mentioned in the text.
createdAt
Time at which the comment was created.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error