Manage Applications

    Delete comment

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

    Permanently deletes a comment.

    Request

    application/json

    Path Parameters

    stringin pathrequired
    12345

    The ID of the comment.

    Response

    none

    Returns an empty response when the comment has been deleted.

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

    Request Example

    cURL
    curl -X DELETE https://api.box.com/2.0/comments/12345 \
         -H "Authorization: Bearer <ACCESS_TOKEN>"
    .NET
    await client.CommentsManager.DeleteAsync(id: "11111");
    Java
    BoxComment comment = new BoxComment(api, "id");
    comment.delete();
    Python
    client.comment(comment_id='12345').delete()
    Node
    client.comments.delete('11111')
        .then(() => {
            // deletion successful — no value returned
        });