Shut down an interface, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

Page 137: Returned result, Example

Advertising
background image

Shut Down an Interface

Shut down an interface on a device based on device ID.

Interface URI

/plat/res/device/{deviceId}/interface/{ifIndex}/down

Access Method

HTTP

PUT

Parameters

Path parameter

Device ID.

deviceId

Long integer type. Required. No default value.

Interface index.

ifIndex

Long integer type. Required. No default value.

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

Example

Shut down the interface with the index 2 and device ID 2.

Request

PUT http://imc_host:8080/imcrs/plat/res/device/2/interface/2/down
accept: application/xml
...

Response

HTTP/1.1 204 No Content

Shut Down an Interface

137

Advertising