From b72481ba74a1d54e08cb6ace4a1de9a6a512b22e Mon Sep 17 00:00:00 2001 From: Ronald Bradford Date: Wed, 4 May 2016 14:31:49 -0400 Subject: [PATCH] Use OS_TENANT_NAME variable for API calls Replace the text tenant_id in url requests with the previously defined environment variable. Change-Id: I3ee61a072a7544e4690e802fa83597d528dbdb11 --- api-quick-start/source/api-quick-start.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-quick-start/source/api-quick-start.rst b/api-quick-start/source/api-quick-start.rst index 57dc44377..1b0b24e80 100644 --- a/api-quick-start/source/api-quick-start.rst +++ b/api-quick-start/source/api-quick-start.rst @@ -446,7 +446,7 @@ Use the Compute API to list images: .. code-block:: console $ curl -s -H "X-Auth-Token: $OS_TOKEN" \ - http://8.21.28.222:8774/v2/tenant_id/images \ + http://8.21.28.222:8774/v2/$OS_TENANT_NAME/images \ | python -m json.tool .. code-block:: json @@ -556,7 +556,7 @@ Use the Compute API to list servers: .. code-block:: console $ curl -s -H "X-Auth-Token: $OS_TOKEN" \ - http://8.21.28.222:8774/v2/tenant_id/servers \ + http://8.21.28.222:8774/v2/$OS_TENANT_NAME/servers \ | python -m json.tool .. code-block:: json