Skip to content

Commit 6fe6ed4

Browse files
authored
Added documentation for the wrangler r2 bucket info command (#18084)
1 parent eb2cadc commit 6fe6ed4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/content/docs/workers/wrangler/commands.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -913,6 +913,19 @@ wrangler r2 bucket create <NAME>
913913
- `--jurisdiction` <Type text="string" /> <MetaInfo text="optional" />
914914
- The jurisdiction where the R2 bucket is created. Refer to [jurisdictional restrictions](/r2/reference/data-location/#jurisdictional-restrictions).
915915

916+
### `info`
917+
918+
Get information about an R2 bucket, including the bucket size and number of objects.
919+
920+
```txt
921+
wrangler r2 bucket info <NAME>
922+
```
923+
924+
- `NAME` <Type text="string" /> <MetaInfo text="required" />
925+
- The name of the R2 bucket to get information about.
926+
- `--jurisdiction` <Type text="string" /> <MetaInfo text="optional" />
927+
- The jurisdiction where the bucket exists, if a jurisdiction has been specified. Refer to [jurisdictional restrictions](/r2/reference/data-location/#jurisdictional-restrictions).
928+
916929
### `delete`
917930

918931
Delete an R2 bucket.

0 commit comments

Comments
 (0)