Update curl api example to specify tenant
In the keystone api_curl_examples document, the curl example for "POST /tokens" did not specify a tenant. This example utilized the default tenant, which is not commonly used. Changed the example to include "tenantName" as part of the example to prevent future confusion. DocImpact Closes-Bug: #1269739 Change-Id: Iaad8c7c5a32bc6cff38c938dd36365cddd6741cb
This commit is contained in:
parent
fb19984c64
commit
ae34f84f27
@ -147,7 +147,7 @@ POST /tokens
|
||||
|
||||
Authenticate by exchanging credentials for an access token::
|
||||
|
||||
$ curl -d '{"auth":{"passwordCredentials":{"username": "joeuser", "password": "secrete"}}}' -H "Content-type: application/json" http://localhost:35357/v2.0/tokens
|
||||
$ curl -d '{"auth":{"tenantName": "customer-x", "passwordCredentials": {"username": "joeuser", "password": "secrete"}}}' -H "Content-type: application/json" http://localhost:35357/v2.0/tokens
|
||||
|
||||
Returns::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user