Deleting an article comment in Zoho Desk can be done programmatically via the Zoho Desk REST API, using a straightforward DELETE request that targets the specific comment on a Help Center article.
Why this matters
Knowledge base articles in Zoho Desk's Help Center allow end-users to leave comments, which can sometimes include spam, outdated feedback, or inappropriate content. Being able to remove individual comments keeps your Help Center clean and professional. This is particularly relevant for teams managing public-facing self-service portals where comment quality directly affects customer trust.
Step-by-step
Step 1. Gather the three identifiers you will need before making any API call: your helpcenterid, the articleid of the article containing the comment, and the comment_id of the specific comment you want to remove. You can retrieve these IDs through the Zoho Desk API or by inspecting existing API responses for your Help Center content. [3]
Step 2. Choose which API endpoint variant suits your integration. Zoho Desk exposes two endpoint patterns for this operation:
- Helpcenter-scoped endpoint:
DELETE /api/v1/helpcenter/{helpcenterid}/articles/{articleid}/comments/{comment_id} [3]
- Article-scoped shorthand endpoint:
DELETE /api/v1/articles/{articleId}/comments/{commentId} [4]
Both endpoints perform the same delete operation. Use the helpcenter-scoped version when you are working across multiple Help Centers in the same Zoho Desk org, and the article-scoped shorthand when you only need to reference the article and comment directly. [3][4]
Step 3. Authenticate your request using your Zoho Desk OAuth token or API key, then issue the DELETE call. For example, using the article-scoped endpoint in Python your call would look like:
delete_article_comment_2(articleId="YOUR_ARTICLE_ID", commentId="YOUR_COMMENT_ID")
The underlying request maps to:
DELETE /api/v1/articles/{articleId}/comments/{commentId}
Substitute your real IDs for the placeholder values. [4]
Step 4. For the helpcenter-scoped variant, the Python method signature accepts an optional p parameter for any additional query parameters you may need to pass alongside the request. Pass None if no extra parameters are required. [3]
Step 5. Confirm the deletion was successful by checking the HTTP response code returned by Zoho Desk. A 200 or 204 response typically indicates the comment was removed. If you receive an error, double-check that all three IDs are correct and that your OAuth token has the necessary Desk permissions scoped to Help Center management. [3][4]
Common pitfalls
- Wrong ID combination: The helpcenter-scoped endpoint requires all three IDs (
helpcenterid,articleid,comment_id). Omitting or mixing up any one of them will result in a failed request. [3] - Insufficient permissions: Your API credentials must be authorised to manage Help Center content. A token scoped only to ticket operations will not be sufficient for article comment deletion. [3][4]
- No UI-based delete option confirmed in context: Our research found community discussion noting that certain Zoho Desk content types lack a direct in-app delete option (for example, IM chats). If you are unable to locate a delete button within the Help Center article comment UI, the API route described above is the reliable alternative. [1]
What to check
- Verify that the
commentidyou are targeting actually belongs to thearticleidyou specified — mismatched IDs will return an error rather than silently failing. - Confirm your OAuth token includes Help Center write/delete scopes before executing the request.
- After deletion, reload the article in your Help Center portal to visually confirm the comment no longer appears for end-users.
---
*Beam Help is an independent expert support resource for Zoho products — we are not official Zoho support. For billing or account-level issues, please contact Zoho directly.*