Use this API to empty all devices in a site and add new devices to the site.
Method |
URL |
Required authentication |
PUT |
/V1/CMDB/Sites/Devices |
Yes |
Parameters
Name |
Description |
---|---|
Token*required |
Place the token received from the API Log in to get an authentication token. |
Request*required |
The body contains two parameters: ▪sitePath* (string): the full path of a site. ▪Devices*(list): the devices to be added. Example: { |
Parameter |
Type |
Description |
Example |
---|---|---|---|
statusCode |
integer |
The returned status code of executing the API. |
{ |
statusDescription |
string |
The explanation of the status code. |