Deleting a server

Storage Advisor Embedded User Guide

Version
93-07-2x
88-08-12
Audience
anonymous
Part Number
MK-97HM85022-25

The following request deletes information registered in a storage system about the server corresponding to the specified server ID.

Execution permission

Storage Administrator (Provisioning)

Request line

DELETE base-URL/simple/v1/objects/servers/object-ID

Request message

Object ID

Specify the id value obtained by getting information about the server.

Attribute

Type Description

id

int

(Required) Server ID

Query parameters
None.
Body

Attribute

Type Description

keepLunConfig

boolean

(Optional) Specify whether to maintain the resource attachment information when information about the server is deleted.

  • true: Maintain the resource attachment information.
  • false: Do not maintain the resource attachment information.

If you mistakenly add the wrong host group to a server, specify true to delete information about the server. Then, re-create the server and add the correct host group.

If you specify true, you will no longer be able to manage the resource attachment information. Normally, we recommend that you do not specify this attribute.

Response message

Body

Attribute

Type

Description

statusResource

string

URL used to obtain the results of the delete server information request

Note:

Run the API function for obtaining information about the status of the API function that performs asynchronous processing. For details, see Getting status information about an API function that performs asynchronous processing.

Status codes

See HTTP status codes.

Coding example

curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Authorization:Session b74777a3f9f04ea8bd8f09847fac48d3" -X DELETE https://192.0.2.100/ConfigurationManager/simple/v1/objects/servers/10