Delete a comment
DELETE/v2/comment
Deletes a comment using the legacy Clover API format.
This endpoint accepts the comment ID in the request body instead of the route parameter.
Request Body
{
"id": "507f1f77bcf86cd799439011"
}
Deletion Behavior
-
Comments with replies: Soft delete
- Content is replaced with “[deleted]”
- Author information is anonymized
- Comment remains visible to maintain conversation context
- Votes and scores are reset to 0
-
Comments without replies: Hard delete
- Comment is permanently removed from the database
- All associated data is deleted
Permissions
- Comment authors can delete their own comments
- Admins can delete any comment (subject to permissions)
- Lite seat admins can only delete their own comments
- Non-authors require
manage_commentsormanage_comments_privatepermission
Response
Returns a success confirmation (Clover format):
{
"success": true
}
Note: Nova API returns { id, object: "comment", deleted: true }, but Clover transformer converts it to { success: true } for backwards compatibility.
Errors
400- Invalid comment ID format or missing ID in body403- Not authorized to delete this comment404- Comment not found or doesn’t belong to your organization
Delete a comment
curl https://do.featurebase.app/v2/comment \
-X DELETE \
-H "Authorization: Bearer $FEATUREBASE_API_KEY"{
"success": true
}Returns Examples
{
"success": true
}