Backblaze · Arazzo Workflow
Backblaze Tear Down a Bucket
Version 1.0.0
Authorize, list a bucket's file names, delete the first file version, then delete the empty bucket.
Provider
Workflows
teardown-bucket
Empty a file from a bucket and then delete the bucket.
Authorizes the account, lists the bucket's files and deletes the first file version found, then deletes the bucket itself.
1
authorize
Log in to the B2 API to obtain the accountId and authorization token.
2
listFiles
List the file names in the bucket to find a version to remove.
3
deleteFile
Delete the first file version found so the bucket moves toward an empty state.
4
deleteBucket
Delete the bucket. This succeeds only when the bucket no longer contains any file versions.
Source API Descriptions
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.