Abort an upload session and discard all data uploaded.
This cannot be reversed.
The actual endpoint URL is returned by the Create upload session
and Get upload session
endpoints.
D5E3F7A
The ID of the upload session.
A blank response is returned if the session was successfully aborted.
An unexpected client error.
curl -i -X DELETE "https://upload.box.com/2.0/files/upload_sessions/F971964745A5CD0C001BBE4E58196BFD" \
-H "authorization: Bearer <ACCESS_TOKEN>"
await client.chunkedUploads.deleteFileUploadSessionById(uploadSessionId);
client.chunked_uploads.delete_file_upload_session_by_id(upload_session_id)
await client.ChunkedUploads.DeleteFileUploadSessionByIdAsync(uploadSessionId: uploadSessionId);
try await client.chunkedUploads.deleteFileUploadSessionById(uploadSessionId: uploadSessionId)
session.abort();
client.upload_session('11493C07ED3EABB6E59874D3A1EF3581').abort()
print('Upload was successfully canceled')
// Cancel upload session 93D9A837B45F
client.files.abortUploadSession('93D9A837B45F', callback);