Delete comment
Delete a comment on a post. Supported by Facebook, Instagram, Bluesky, Reddit, YouTube, and LinkedIn. Requires accountId and commentId query parameters.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Zernio post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID.
Query Parameters
Response Body
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.comments.deleteInboxComment({ path: { postId: 'post_abc123', }, query: { accountId: 'account_abc123', commentId: 'comment_abc123', },});console.log(data);{
"success": true,
"data": {
"message": "string"
}
}{
"error": "string"
}{
"error": "Unauthorized"
}Set comment moderation status POST
Set a comment's moderation status. Supported on YouTube only. Use this to work a moderation queue: approve a held comment (`published`), reject it (`rejected`), or send it back for review (`heldForReview`). The request must be authorized by the owner of the channel or video the comment belongs to. You cannot moderate comments on videos you do not own. This is distinct from `POST /v1/inbox/comments/{postId}/{commentId}/hide`, which covers Facebook, Instagram, Threads, and X/Twitter and does not apply to YouTube.
Edit comment PATCH
Edit the body of a comment the connected account posted. Supported on Reddit only. Reddit keeps the same comment id after an edit. Reddit exposes no API to edit a post title, and a link post has no editable body. To edit a published post's body, use `POST /v1/posts/{postId}/edit`.