Skip to content

Commit 939ea43

Browse files
authored
Merge pull request #12584 from kyanny/patch-1
2 parents 5b3e10b + 927d607 commit 939ea43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/rest/reference/enterprise-admin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ $ curl -L 'https://<em>hostname</em>:<em>admin_port</em>/setup/api?api_key=<em>y
186186
You can also use standard HTTP authentication to send this token. For example:
187187

188188
```shell
189-
$ curl -L 'https://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api'
189+
$ curl -L -u "api_key:<em>your-amazing-password</em>" 'https://<em>hostname</em>:<em>admin_port</em>/setup/api'
190190
```
191191

192192
{% for operation in currentRestOperations %}

0 commit comments

Comments
 (0)