Delete vlan interface, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual
Page 403: Returned result, Example
Delete VLAN Interface
Delete a VLAN interface from the device.
Interface URI
/vlan/vlanif
Access Method
HTTP
DELETE
Message body
DELETE http://imc_host:8080/imcrs/vlan/vlanif?devId=3&vlanId=600&ipAddress=1.1.1.1&ipMask=255.0.0.0
accept: application/xml
...
Parameters
VLAN interface sub-elements
VLAN ID, which uniquely identifies a VLAN. Integer type. Required. No default value.
vlanId
Primary IP address or not. Boolean type. Optional. The default value is true.
isPrimary
Whether or not the IP address is assigned through DHCP. If the value takes true, then the ipAddress
and ipMask parameters are empty. Boolean type. Optional. The default value is false.
enableDHCP
IP address. String type. Optional. If the enableDHCP parameter is false then neither ipAddress or
ipMask can be empty.
ipAddress
Network mask of an IP address. String type. Optional. If the enableDHCP parameter is false, then
neither ipAddress nor ipMask can be empty.
ipMask
Returned Result
Status codes
•
204 (No Content): Success.
•
409 (Conflict): Failure. See “
.”
Example
Delete a VLAN interface from the device whose ID is 3. The interface parameters are as follows:
vlanId=600, ipAddress=1.1.1.1, ipMask=255.0.0.0.
Request
DELETE http://imc_host:8080/imcrs/vlan/vlanif?devId=3&vlanId=600&ipAddress=1.1.1.1&ipMask=255.0.0.0
accept: application/xml
...
Response
None
Delete VLAN Interface 403