Modify device label, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

Page 88: Returned result, Interface uri access method returned result

Advertising
background image

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

Advertising