Skip to content

Commit 943f8fc

Browse files
authored
Document Wrangler r2 bucket domain get command (#18473)
1 parent 80bbb8f commit 943f8fc

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -860,6 +860,23 @@ wrangler r2 bucket domain update <NAME> [OPTIONS]
860860

861861
<Render file="wrangler-commands/global-flags" product="workers" />
862862

863+
### `domain get`
864+
865+
Get [custom domain](/r2/buckets/public-buckets/#custom-domains) connected to an R2 bucket.
866+
867+
```txt
868+
wrangler r2 bucket domain get <NAME> [OPTIONS]
869+
```
870+
871+
- `NAME` <Type text="string" /> <MetaInfo text="required" />
872+
- The name of the R2 bucket whose custom domain to retrieve.
873+
- `--domain` <Type text="string" /> <MetaInfo text="required" />
874+
- The custom domain to get information for.
875+
- `--jurisdiction` <Type text="string" /> <MetaInfo text="optional" />
876+
- The jurisdiction where the bucket exists, if a jurisdiction has been specified. Refer to [jurisdictional restrictions](/r2/reference/data-location/#jurisdictional-restrictions).
877+
878+
<Render file="wrangler-commands/global-flags" product="workers" />
879+
863880
### `domain list`
864881

865882
List [custom domains](/r2/buckets/public-buckets/#custom-domains) for an R2 bucket.

0 commit comments

Comments
 (0)