Use this API to set a value for a specified attribute of a device.
Method |
URL |
Required authentication |
PUT |
/V1/CMDB/Devices/Attributes |
Yes |
Name |
Description |
---|---|
Token*required |
Place the token received from the API Log in to get an authentication token. |
Request*required |
The body contains the following parameters: ▪attributeName*(string): the name of the attribute to set value. ▪attributeValue*(string): the value to set for the attribute. ▪hostname*(string): the hostname of the device. Example: { |
Parameter |
Type |
Description |
Example |
---|---|---|---|
statusCode |
integer |
The returned status code of executing the API. |
{ |
statusDescription |
string |
The explanation of the status code. |