HP Intelligent Management Center Extended API User Guide
Modify Device Label
Modify device label based on device ID.
Interface URI
/plat/res/device/{id}/updateLabel
Access Method
HTTP
PUT
Parameters
Path parameter
Device ID.id
Long integer type. Required. No default value.
Message body
<device>
<label>Dev Label1</label>
</device>
Element description
device sub-elements
Device label.label
String type. Optional. If the element does not exist, the value is not changed. If the element exists,
the value cannot be null.
Returned Result
Status codes
• 204 (No Content): Success.
• 404 (Not Found): No data is found with the ID.
• 409 (Conflict): Failure. See “Error Codes.”
Message header
HTTP/1.1 204 No Content
...
88 Network Resource Management