From ae34f84f271f8965b248ffbc9860506a8a7e6951 Mon Sep 17 00:00:00 2001
From: Krsna Widmer <krsna@pistoncloud.com>
Date: Fri, 28 Feb 2014 14:52:57 -0800
Subject: [PATCH] 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
---
 doc/source/api_curl_examples.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/source/api_curl_examples.rst b/doc/source/api_curl_examples.rst
index 66c84b429a..e2b2d8ca54 100644
--- a/doc/source/api_curl_examples.rst
+++ b/doc/source/api_curl_examples.rst
@@ -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::