HP Intelligent Management Center Extended API User Guide
Remove Port from VLAN
Remove a port from a VLAN.
Interface URI
/vlan/{vlanId}
Access Method
HTTP
DELETE
Message body
DELETE http://imc_host:8080/imcrs/vlan/777?devId=33&ifIndex=1538
accept: application/xml
...
Parameters
VLAN port sub-elements
Device type ID.devId
Integer type. Required. No default value.
VLAN IDvlanId
Integer type. Required. No default value.
VLAN name.vlanName
String type. Required. No default value.
Returned Result
Status codes
• 204 (No Content): Success.
• 409 (Conflict): Failure. See “Error Codes.”
Example
Remove the port with index 1538 of the device with ID 33 from the VLAN whose ID is 777.
Request
DELETE http://imc_host:8080/imcrs/vlan/777?devId=33&ifIndex=1538
accept: application/xml
...
Response
None.
Remove Port from VLAN 377