MENU

Description

デタッチを行うと、対象のPortの削除も行われます。

Externalネットワークのポートはデタッチできません。

アタッチするVMは停止中である必要があります。

Request URL

Compute API v2.0

DELETE /v2/​{tenant_id}​/servers/​{server_id}​/os-interface/​{attachment_id}​

Request Paramters

Parameter Value Style Description
X-Auth-Token Userトークン header トークンID
tenant_id URI テナントID
server_id URI サーバーID
attachment_id interface ID URI port_idを指定する

Request Json

This operation does not accept a request body.

Normal response codes

202

Example
※エンドポイントURLにつきましては、お客様環境によって異なりますので、コントロールパネルにてご確認の上ご利用ください。

  • REQ
curl -i -X DELETE \
-H "Accept: application/json" \
-H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \
https://compute.tyo1.conoha.io/v2/1864e71d2deb46f6b47526b69c65a45d/servers/e25b3611-96df-4514-a54b-7729aec48dc1/os-interface/8af5ffad-0ac1-471e-a157-ac0503222249
  • RES
HTTP/1.1 202 Accepted
Date: Wed, 10 Dec 2014 06:57:20 GMT
Server: Apache
Content-Length: 0
Content-Type: application/json