Update Device by Id
This POST API allows user to update the CMDB device attributes for a CMDB Device. The device need to specified device id, that can be obtained via the Get CMDB Device List API. Only the attributes that need to be updated should be sent as part of API.
Release Added | 6.5.0 | |||||||||
Input URL |
|
|||||||||
Input Credentials | User name and password of Supervisor account, or Organization specific user name and password, Organization name. | |||||||||
HTTP Method | POST | |||||||||
Request Path Parameters |
|
|||||||||
Request Body |
You need to create an XML as in Add CMDB Device(s) API to include the device attributes that you want to update and pass it in the HTTP request. A sample XML file for OVERWRITE-ing a device host name is File7_OVERWRITE_DeviceExample.xml. A sample XML file for APPEND-ing a device network Interface is File7_APPEND_DeviceExample.xml. The schema XSD is File8_deviceAPPENDExample.xsd. For an explanation the attribute definitions, see Appendix - Description of Device Attributes. |
|||||||||
Output |
When the request succeeds (HTTP response code 200), the following message will appear depending on the update status.
Invalid attributes are ignored, and valid attributes are updated. |