configuration / network / interfaces / vif[ID]
CLI REST-API

## ipv4

The submenu ipv4 (ipv4) contains the following:
Menus: none
Objects:
ip-address (tcp/IP address)
netmask (netmask)
gateway (gateway)
enable-dhcp (enable dhcp-client)
dhcp-client-id (dhcp client id)
Commands: none
See also:
/configuration/network/interfaces/vif[ID]/ipv4/ip-address
/configuration/network/interfaces/vif[ID]/ipv4/netmask
/configuration/network/interfaces/vif[ID]/ipv4/gateway
/configuration/network/interfaces/vif[ID]/ipv4/enable-dhcp
/configuration/network/interfaces/vif[ID]/ipv4/dhcp-client-id

#### REST-API Support:

This menu is supported by the REST API:
Method: GET
URL: /api/configuration/network/interfaces/vif.*/ipv4
Example using curl:

    curl /api/configuration/network/interfaces/vif.*/ipv4

Method: PATCH
URL: /api/configuration/network/interfaces/vif.*/ipv4
Body:

    {
      \"objects\": \"new-values\"
    }

Example using curl:

    curl -X PATCH /api/configuration/network/interfaces/vif.*/ipv4
    -d "{
      \"objects\": \"new-values\"
    }"