summaryrefslogtreecommitdiff
path: root/api-ref/source/servers-action-evacuate.inc
diff options
context:
space:
mode:
authorSean Dague <sean@dague.net>2016-06-02 08:50:03 -0400
committerSean Dague <sean@dague.net>2016-06-03 08:47:33 -0400
commitc9f5ad3bcf06d22661fd73dc8f98bf752784abff (patch)
tree12886a94ebe3ed56663740e1683f8551459722a9 /api-ref/source/servers-action-evacuate.inc
parentcfd64c976b8aaacaf09fd2a6303877674fcfada0 (diff)
downloadnova-c9f5ad3bcf06d22661fd73dc8f98bf752784abff.tar.gz
remove /v2.1/{tenant_id} from all urls
As discussed at summit, the version part of the URL is not really relevant, or a thing a user should be filling out themselves, this should instead be set by the service catalog and extracted from the token. This removes it's reference in all documented REST urls, and adds a new section describing how one gets the base URL for all calls. Change-Id: I4306b8c3de0225e54f3909dd8a1fb293c4e5944c
Diffstat (limited to 'api-ref/source/servers-action-evacuate.inc')
-rw-r--r--api-ref/source/servers-action-evacuate.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/api-ref/source/servers-action-evacuate.inc b/api-ref/source/servers-action-evacuate.inc
index 5a5b5f16e8..521ec9e10e 100644
--- a/api-ref/source/servers-action-evacuate.inc
+++ b/api-ref/source/servers-action-evacuate.inc
@@ -3,7 +3,7 @@
Evacuate Server (evacuate Action)
=================================
-.. rest_method:: POST /v2.1/{tenant_id}/servers/{server_id}/action
+.. rest_method:: POST /servers/{server_id}/action
Evacuates a server from a failed host to a new host.
@@ -21,7 +21,7 @@ Request
.. rest_parameters:: parameters.yaml
- - tenant_id: tenant_id
+
- server_id: server_id
- evacuate: evacuate
- host: host