Description
テナントIDとサーバーIDを指定し、指定されたサーバーのプラン変更をキャンセルさせます。
プラン変更が失敗したり、元に戻したい場合には、ConfirmするAPIを実行せずに、本APIを実行することで元に戻すことができます。
Request URL
Compute API v2.0 POST /v2/{tenant_id}/servers/{server_id}/action |
Request Json
{ “revertResize”: null } |
Request Paramters
Parameter | Value | Style | Description |
---|---|---|---|
X-Auth-Token | Userトークン | header | トークンID |
tenant_id | テナントID | URI | テナントID |
server_id | サーバーID | plain | サーバーID |
Response
Normal response codes
202 |
Example
Request
curl -i -X POST \ -H “Accept: application/json” \ -H “Content-Type: application/json” \ -H “X-Auth-Token: トークンID” \ -d ‘{“revertResize”: null}’\ https://compute.odc01.eva-clouds.com/v2/テナントID/servers/サーバーID/action |
Response
HTTP/1.1 202 Accepted Date: Fri, 22 Jul 2016 03:27:28 GMT Server: Apache Content-Length: 0 Content-Type: application/json |