HP Intelligent Management Center Extended API User Guide

Delete Trunk Port
Delete a trunk port from the device.
Interface URI
/vlan/trunk
Access Method
HTTP
DELETE
Message body
DELETE http://imc_host:8080/imcrs/vlan/trunk?devId=33&ifIndex=2434
accept: application/xml
...
Parameters
Trunk port sub-elements
Device type ID.devId
Integer type. Required. No default value.
Port index, which uniquely identifies a port.ifIndex
Integer type. Required. No default value.
Returned Result
Status codes
204 (No Content): Success.
409 (Conflict): Failure. See Error Codes.
Example
Delete the trunk port with index 2434 from the device whose ID is 33.
Request
DELETE http://imc_host:8080/imcrs/vlan/trunk?devId=33&ifIndex=2434
accept: application/xml
...
Response
None
394 Network Service Management