diff --git a/content/v3/enterprise/management_console.md b/content/v3/enterprise/management_console.md index 370c2176ab..d5056ac154 100644 --- a/content/v3/enterprise/management_console.md +++ b/content/v3/enterprise/management_console.md @@ -24,13 +24,13 @@ You need to pass your [Management Console password](https://help.github.com/ente Use the `api_key` parameter to send this token with each request. For example:
-$ curl -L 'http://hostname/setup/api?api_key=your-amazing-password'
+$ curl -L 'http://hostname:admin_port/setup/api?api_key=your-amazing-password'
 
You can also use standard HTTP authentication to send this token. For example:
-$ curl -L 'http://api_key:your-amazing-password@hostname/setup/api'
+$ curl -L 'http://api_key:your-amazing-password@hostname:admin_port/setup/api'
 
## Upload a license for the first time @@ -64,13 +64,13 @@ For a list of the available settings, see [the `/setup/api/settings` endpoint](#
 HTTP/1.1 202 Created
-Location: http://hostname/setup/api/configcheck
+Location: http://hostname:admin_port/setup/api/configcheck
 
### Example
-curl -L -X POST 'http://hostname/setup/api/start' -F license=@/path/to/github-enterprise.ghl -F "password=your-amazing-password" -F settings=</path/to/settings.json
+curl -L -X POST 'http://hostname:admin_port/setup/api/start' -F license=@/path/to/github-enterprise.ghl -F "password=your-amazing-password" -F settings=</path/to/settings.json
 
## Upgrade a license @@ -89,13 +89,13 @@ Name | Type | Description
 HTTP/1.1 202 Accepted
-Location: http://hostname/setup/api/configcheck
+Location: http://hostname:admin_port/setup/api/configcheck
 
### Example
-curl -L -X POST 'http://api_key:your-amazing-password@hostname/setup/api/upgrade'
+curl -L -X POST 'http://api_key:your-amazing-password@hostname:admin_port/setup/api/upgrade'
 
## Check configuration status @@ -124,7 +124,7 @@ Status | Description ### Example
-curl -L 'http://api_key:your-amazing-password@hostname/setup/api/configcheck'
+curl -L 'http://api_key:your-amazing-password@hostname:admin_port/setup/api/configcheck'
 
## Start a configuration process @@ -137,13 +137,13 @@ This endpoint allows you to start a configuration process at any time:
 HTTP/1.1 202 Accepted
-Location: http://hostname/setup/api/configcheck
+Location: http://hostname:admin_port/setup/api/configcheck
 
### Example
-curl -L -X POST 'http://api_key:your-amazing-password@hostname/setup/api/configure'
+curl -L -X POST 'http://api_key:your-amazing-password@hostname:admin_port/setup/api/configure'
 
## Retrieve settings @@ -158,7 +158,7 @@ curl -L -X POST 'http://api_key:your-amazing-password@hostname ### Example
-curl -L 'http://api_key:your-amazing-password@hostname/setup/api/settings'
+curl -L 'http://api_key:your-amazing-password@hostname:admin_port/setup/api/settings'
 
## Modify settings @@ -180,7 +180,7 @@ HTTP/1.1 204 No Content ### Example
-curl -L -X PUT 'http://api_key:your-amazing-password@hostname/setup/api/settings' --data-urlencode "settings=`cat /path/to/settings.json`"
+curl -L -X PUT 'http://api_key:your-amazing-password@hostname:admin_port/setup/api/settings' --data-urlencode "settings=`cat /path/to/settings.json`"
 
## Check maintenance status @@ -197,7 +197,7 @@ Check your installation's maintenance status: ### Example
-curl -L 'http://api_key:your-amazing-password@hostname/setup/api/maintenance'
+curl -L 'http://api_key:your-amazing-password@hostname:admin_port/setup/api/maintenance'
 
## Enable or disable maintenance mode @@ -224,7 +224,7 @@ The possible values for `when` are `now` or any date parseable by ### Example
-curl -L -X POST 'http://api_key:your-amazing-password@hostname/setup/api/maintenance' -d 'maintenance={"enabled":true, "when":"now"}'
+curl -L -X POST 'http://api_key:your-amazing-password@hostname:admin_port/setup/api/maintenance' -d 'maintenance={"enabled":true, "when":"now"}'
 
## Retrieve authorized SSH keys @@ -239,7 +239,7 @@ curl -L -X POST 'http://api_key:your-amazing-password@hostname ### Example
-curl -L 'http://api_key:your-amazing-password@hostname/setup/api/settings/authorized-keys'
+curl -L 'http://api_key:your-amazing-password@hostname:admin_port/setup/api/settings/authorized-keys'
 
## Add a new authorized SSH key @@ -260,7 +260,7 @@ Name | Type | Description ### Example
-curl -L -X POST 'http://api_key:your-amazing-password@hostname/setup/api/settings/authorized-keys' -F authorized_key=@/path/to/key.pub
+curl -L -X POST 'http://api_key:your-amazing-password@hostname:admin_port/setup/api/settings/authorized-keys' -F authorized_key=@/path/to/key.pub
 
## Remove an authorized SSH key @@ -281,5 +281,5 @@ Name | Type | Description ### Example
-curl -L -X DELETE 'http://api_key:your-amazing-password@hostname/setup/api/settings/authorized-keys' -F authorized_key=@/path/to/key.pub
+curl -L -X DELETE 'http://api_key:your-amazing-password@hostname:admin_port/setup/api/settings/authorized-keys' -F authorized_key=@/path/to/key.pub
 
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy