Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit 3aa3220

Browse files
committed
Add -k flag and https to 2 examples
1 parent 72ebf6f commit 3aa3220

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/v3/enterprise/management_console.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ If you don't want to provide a port number, you'll need to configure your tool t
1818

1919
## Authentication
2020

21-
You need to pass your [Management Console password](https://help.github.com/enterprise/2.0/admin/articles/accessing-the-management-console/) as an authentication token to every Management Console API endpoint except [`/setup/api/start`](#upload-a-license-for-the-first-time).
21+
You need to pass your [Management Console password](https://help.github.com/enterprise/admin/articles/accessing-the-management-console/) as an authentication token to every Management Console API endpoint except [`/setup/api/start`](#upload-a-license-for-the-first-time).
2222

2323
Use the `api_key` parameter to send this token with each request. For example:
2424

@@ -69,7 +69,7 @@ For a list of the available settings, see [the `/setup/api/settings` endpoint](#
6969
### Example
7070

7171
``` command-line
72-
$ curl -L -X POST 'http://<em>hostname</em>:<em>admin_port</em>/setup/api/start' -F license=@<em>/path/to/github-enterprise.ghl</em> -F "password=<em>your-amazing-password</em>" -F settings=&lt;<em>/path/to/settings.json</em>
72+
$ curl -L -X -k POST 'https://<em>hostname</em>:<em>admin_port</em>/setup/api/start' -F license=@<em>/path/to/github-enterprise.ghl</em> -F "password=<em>your-amazing-password</em>" -F settings=&lt;<em>/path/to/settings.json</em>
7373
```
7474

7575
## Upgrade a license
@@ -259,7 +259,7 @@ Name | Type | Description
259259
### Example
260260

261261
``` command-line
262-
$ curl -L -X POST 'http://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api/settings/authorized-keys' -F authorized_key=@<em>/path/to/key.pub</em>
262+
$ curl -L -X -k POST 'https://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api/settings/authorized-keys' -F authorized_key=@<em>/path/to/key.pub</em>
263263
```
264264

265265
## Remove an authorized SSH key

0 commit comments

Comments
 (0)