A beta version of the new Box developer documentation site is launching soon! Updated Developer Guides, modern API Reference, and AI-powered search are on the way to help you build with Box faster. Stay tuned for more updates.
Permanently deletes a comment.
12345The ID of the comment.
Returns an empty response when the comment has been deleted.
An unexpected client error.
curl -i -X DELETE "https://api.box.com/2.0/comments/12345" \
-H "authorization: Bearer <ACCESS_TOKEN>"await client.comments.deleteCommentById(newComment.id!);client.comments.delete_comment_by_id(new_comment.id)await client.Comments.DeleteCommentByIdAsync(commentId: NullableUtils.Unwrap(newComment.Id));try await client.comments.deleteCommentById(commentId: newComment.id!)client.getComments().deleteCommentById(newComment.getId())await client.Comments.DeleteCommentByIdAsync(commentId: NullableUtils.Unwrap(newComment.Id));await client.comments.deleteCommentById(newComment.id!);