updateComment( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Updates a comment.

Each time the comment is updated, revision increments by 1. The current revision must be passed when updating the comment. This ensures you're working with the latest comment and prevents unintended overwrites.

Admin Method

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Comments
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
_idstringRequired

Comment ID.


commentUpdateCommentRequired
Returns
Return Type:Promise<Comment>
Was this helpful?
Yes
No