summaryrefslogtreecommitdiff
path: root/api-ref/source/servers-action-deferred-delete.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-deferred-delete.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-deferred-delete.inc')
-rw-r--r--api-ref/source/servers-action-deferred-delete.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/api-ref/source/servers-action-deferred-delete.inc b/api-ref/source/servers-action-deferred-delete.inc
index 3facb18f1b..dd45455163 100644
--- a/api-ref/source/servers-action-deferred-delete.inc
+++ b/api-ref/source/servers-action-deferred-delete.inc
@@ -3,7 +3,7 @@
Force-Delete Server (forceDelete Action)
========================================
-.. rest_method:: POST /v2.1/{tenant_id}/servers/{server_id}/action
+.. rest_method:: POST /servers/{server_id}/action
Force-deletes a server before deferred cleanup.
@@ -23,7 +23,7 @@ Request
.. rest_parameters:: parameters.yaml
- - tenant_id: tenant_id
+
- server_id: server_id_path
- forceDelete: forceDelete
@@ -40,7 +40,7 @@ No body is returned on a successful submission.
Restore Soft-Deleted Instance (restore Action)
==============================================
-.. rest_method:: POST /v2.1/{tenant_id}/servers/{server_id}/action
+.. rest_method:: POST /servers/{server_id}/action
Restores a previously soft-deleted server instance. You cannot use
this method to restore deleted instances.
@@ -61,7 +61,7 @@ Request
.. rest_parameters:: parameters.yaml
- - tenant_id: tenant_id
+
- server_id: server_id_path
- restore: restore