MENU
セキュリティグループ削除 - Network API v2.0
Description
- セキュリティグループを削除した際、グループに含まれるルールも同時に削除されます。
- APIからコントロールパネル上のセキュリティグループを削除することはできません。
Request URL
Network API v2.0 DELETE /v2.0/security-groups/{security_group_id}
Request Paramters
Parameter | Value | Style | Description |
---|---|---|---|
X-Auth-Token | Userトークン | header | トークンID |
security_group_id | security_group ID | URI | セキュリティグループID |
Request Json
This operation does not accept a request body.
Normal response codes
204
Example
※エンドポイントURLにつきましては、お客様環境によって異なりますので、コントロールパネルにてご確認の上ご利用ください。
- REQ
curl -i -X DELETE \ -H "Accept: application/json" \ -H "X-Auth-Token: 0925897a3d4543218ff0dcd2bb378a8e" \ https://networking.tyo1.conoha.io/v2.0/security-groups/d640f9e7-f329-4813-919e-0382799f6ce4
- RES
HTTP/1.1 204 No Content Server: openresty/1.7.10.1 Date: Fri, 08 May 2015 12:38:59 GMT Content-Type: application/json Content-Length: 0 Connection: keep-alive