capabilities.work

Clean Up Unfinished Large Files

A 3-step recipe with Backblaze. We can help you get access.

Recipe · 3 steps

Clean Up Unfinished Large Files

Find an abandoned large upload in a bucket and cancel it.

  1. Log in to the B2 API to obtain the authorization token.
  2. List large file uploads that have been started but not finished or cancelled in the target bucket.
  3. Cancel the first unfinished large file upload, deleting all of the parts that had been uploaded for it.
What you'll need to have ready
  • bucketId: The bucket to scan for unfinished large file uploads.
For your developer

Arazzo workflow backblaze:cleanup-unfinished-large-files, 3 operations: authorizeAccount → listUnfinishedLargeFiles → cancelLargeFile. Specs on APIs.io.