bucket list

List all of the buckets in the current account.

Output lines list the bucket ID, bucket type, and bucket name, and look like this:

98c960fd1cb4390c5e0f0519  allPublic   my-bucket

Alternatively, the --json option produces machine-readable output similar (but not identical) to the server api response format.

Requires capability:

  • listBuckets

b2 bucket list [-h] [--json]

Named Arguments


Default: False