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