configuration / network

CLI REST-API

interfaces

The submenu interfaces (Configue existing Interfaces) contains the following:

Menus:
vif0 (virtual interface 0 / disabled)

Objects: none

Commands:
add-interface (adds another virtual interface to the system)
delete-interface (delete a virtual interfaces definition from the system configuration)



See also:
/configuration/network/interfaces/vif[ID]
/configuration/network/interfaces/add-interface: adds another virtual interface to the system
/configuration/network/interfaces/delete-interface: delete a virtual interfaces definition from the system configuration
/status/network/interfaces: Status of Interfaces

REST-API Support:


This menu is supported by the REST API:

Method: GET
URL: /api/configuration/network/interfaces


Example using curl:
curl /api/configuration/network/interfaces


Method: PATCH
URL: /api/configuration/network/interfaces
Body:
{
  \"objects\": \"new-values\"
}

Example using curl:
curl -X PATCH /api/configuration/network/interfaces
-d "{
  \"objects\": \"new-values\"
}"


Method: POST
URL: /api/configuration/network/interfaces
Body:
{
  \"objects\": \"new-values\"
}

Example using curl:
curl -X POST /api/configuration/network/interfaces
-d "{
  \"objects\": \"new-values\"
}"