MENU
VM削除 - Compute API v2
Description
削除するVMに紐付いているデフォルト(グローバル)IPがLBのメンバーに紐付いている場合は削除できません。
Request URL
Compute API v2.0 DELETE /v2/{tenant_id}/servers/{server_id}
Request Paramters
Parameter | Value | Style | Description |
---|---|---|---|
X-Auth-Token | Userトークン | header | トークンID |
tenant_id | URI | テナントID | |
server_id | Server ID | plain | サーバーID |
Request Json
This operation does not accept a request body and does not return a response body
Normal response codes
204
Example
※エンドポイントURLにつきましては、お客様環境によって異なりますので、コントロールパネルにてご確認の上ご利用ください。
- REQ
curl -i -X DELETE \ -H "Accept: application/json" \ -H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \ https://compute.tyo1.conoha.io/v2/1864e71d2deb46f6b47526b69c65a45d/servers/967fee34-e6dc-4237-9e39-134783c90516
- RES
HTTP/1.1 204 No Content Date: Tue, 09 Dec 2014 03:18:22 GMT Server: Apache Content-Length: 0 Content-Type: application/json