BoxFileRequest fileRequest = new BoxFileRequest(api, "id");
fileRequest.delete();
The ID of a file request can be determined by visiting the Box web
app and inspecting the URL. Please
check our guide on setting up a file
request template to learn how to determine a file request ID.