Remove comment

delete
https://api.box.com/2.0
/comments/:comment_id/

Permanently deletes a comment.

Request

Bearer [ACCESS_TOKEN]
application/json

Path Parameters

stringin pathrequired
12345

The ID of the comment.

Response

none

Returns an empty response when the comment has been deleted.

application/jsonClient error

An unexpected client error.

delete
Remove comment
You can now try out some of our APIs live, right here in the documentation.
Log in

Request Example

cURL
curl -i -X DELETE "https://api.box.com/2.0/comments/12345" \
     -H "Authorization: Bearer <ACCESS_TOKEN>"
Java
BoxComment comment = new BoxComment(api, "id");
comment.delete();
Python
client.comment(comment_id='12345').delete()