Skip to content

Commit 3a5a63d

Browse files
jusuchin85Copilotjc-clark
authored
[Improvement] Update https://api.octocorp.ghe.com to a more generic https://api.{subdomain}.ghe.com example (#57788)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Joe Clark <31087804+jc-clark@users.noreply.github.com>
1 parent 7cb69b1 commit 3a5a63d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

data/reusables/enterprise-migration-tool/set-target-api-url.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,18 @@
33
* If you're using Terminal, use the `export` command.
44

55
```shell copy
6-
export TARGET_API_URL="https://api.{% data variables.enterprise.data_residency_example_domain %}"
6+
export TARGET_API_URL="https://api.SUBDOMAIN.ghe.com"
77
```
88

99
* If you're using PowerShell, use the `$env` command.
1010
1111
```shell copy
12-
$env:TARGET_API_URL="https://api.{% data variables.enterprise.data_residency_example_domain %}"
12+
$env:TARGET_API_URL="https://api.SUBDOMAIN.ghe.com"
1313
```
1414
15+
> [!IMPORTANT]
16+
> Ensure to replace `SUBDOMAIN` with your enterprise's subdomain.
17+
>
18+
> For example, if your enterprise's subdomain is `acme`, the `TARGET_API_URL` value would be `https://api.acme.ghe.com`.
19+
1520
You'll use this variable with the `--target-api-url` option in commands you run with the {% data variables.product.prodname_cli %}.

0 commit comments

Comments
 (0)