Description

When you fail the resize operation, or in case you want to restore it,
you can restore it executing this API request. No confirming API request is needed.

Request URL

Compute API v2.0

POST /v2/{tenant_id}​/servers/​{server_id}​/action

Request Paramters

Parameter Value Style Description
X-Auth-Token User Token header
tenant_id URI
server_id URI

Request Json

{
    "revertResize": null
}

Normal response codes

202

Example

curl -i -X POST \
-H "Accept: application/json" \
-H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \
-d '{"revertResize": null}' \
https://compute.tyo1.cloud.z.com/v2/1864e71d2deb46f6b47526b69c65a45e/servers/e25b3611-96df-4514-a54b-7729aec48dc1/action
HTTP/1.1 202 Accepted
Date: Wed, 10 Dec 2014 04:13:45 GMT
Server: Apache
Content-Length: 0
Content-Type: text/html; charset=UTF-8