サーバー削除

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 Parameters

Parameter Value Style Description
X-Auth-Token Userトークン header トークン発行 にて払い出されたID
tenant_id テナントID URI API情報を確認する にてご確認ください。
server_id サーバーID plain サーバー一覧取得にてご確認ください。

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.jpt1.cloud.z.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

Internet for everyone

Copyright (c) 2024 GMO Internet Group, Inc. All Rights Reserved.