Skip to main content
POST
Hide or unhide a comment
Hides or unhides a comment. Hidden comments stay visible to their author.

Authentication

Use the hmat_ channel token from GET /meta/channels/{id}/token or hookmyapp channels env <channel>. Do not use an hmok_ API key for this call.

Path parameters

string
required
The comment to hide or unhide.

Query parameters

boolean
required
true to hide, false to unhide.

Example

Successful response

To turn commenting on or off for a whole post, use POST /{mediaId}?comment_enabled=false — see the Comments guide.