Remove devices from a domain in batch

Use this API to remove a device from a domain using a list of hostnames or IPs.

Resource Information

Method

URL

Required authentication

DELETE

/V1/CMDB/Devices

Yes

Parameters

Name

Description

Token*required
(header)

Place the token received from the API Log in to get an authentication token.

Request*required
(body)

The body must contain one of the following two parameters:

IPs (list): a list of management IP addresses of the target devices.

hostnames (list): a list of hostnames of the target devices.

Response

Parameter

Type

Description

Example

statusCode

integer

The returned status code of executing the API.

{
  "statusCode"790200,
  "statusDescription""success"
}

statusDescription

string

The explanation of the status code.