Deletes a file request permanently.
123
The unique identifier that represent a file request.
The ID for any file request can be determined
by visiting a file request builder in the web application
and copying the ID from the URL. For example,
for the URL https://*.app.box.com/filerequest/123
the file_request_id
is 123
.
Returns an empty response when the file request has been successfully deleted.
Returned when the access token provided in the Authorization
header
is not recognized or not provided.
Returned if the file request is not found or has already been deleted, or the user does not have access to the associated folder.
Returned if the file_request_id
is not in a recognized format.
An unexpected client error.
curl -i -X DELETE "https://api.box.com/2.0/file_requests/42037322" \
-H "authorization: Bearer <ACCESS_TOKEN>"
await client.fileRequests.deleteFileRequestById(updatedFileRequest.id);
client.file_requests.delete_file_request_by_id(updated_file_request.id)
await client.FileRequests.DeleteFileRequestByIdAsync(fileRequestId: updatedFileRequest.Id);
BoxFileRequest fileRequest = new BoxFileRequest(api, "id");
fileRequest.delete();
file_request = client.file_request(file_request_id='123456')
file_request.delete()
bool isSuccess = await client.FileRequestsManager.DeleteFileRequestAsync("12345");
client.fileRequests.delete('2484517969').then(() => console.log('Removed file request'));
client.fileRequests.delete(fileRequestId: "123456") { result in
guard case .success = result else {
print("Error removing file request")
return
}
print("File request removed")
}