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

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

Advertising
background image

Modify Login Method

Modify login method for a device based on device ID.

Interface URI

/plat/res/device/{id}/updateLoginType

Access Method

HTTP

PUT

Parameters

Path parameter

Device ID.

id

Long integer type. Required. No default value.

Message body

<device>
<loginType>2</loginType>
</device>

Element description

device sub-elements

Login method. 0: None. 1: Telnet. 2: SSH.

loginType

Integer 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
...

92

Network Resource Management

Advertising