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
- 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 execution results of the delete server information request
Note:Execute 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