Description
テナントIDとサーバーIDを指定し、指定されたサーバーを削除します。
削除するサーバーに紐付いているIPがLBのメンバーに紐付いている場合は削除できません。
Request URL
Compute API v2.0 DELETE /v2/{tenant_id}/servers/{server_id} |
Request Json
This operation does not accept a request body. |
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
204 |
Example
Request
curl -i -X DELETE \ -H “Accept: application/json” \ -H “Content-Type: application/json” \ -H “X-Auth-Token: トークンID“\ https://compute.odc01.eva-clouds.com/v2/テナントID/servers/サーバーID |
Response
HTTP/1.1 204 No Content Date: Thu,07 Jul 2016 09:03:09 GMT Server: Apache Content-Length: 0 Content-Type: application/json |