configuration / network / interfaces

CLI REST-API

delete-interface

delete-interface [interface]
With the "delete-interface" command it is possible to delete a virtual interfaces
definition from the system configuration. This will result in removing any IP addresses
for that virtual interface from the network configuration.

RESTAPI: Target the submenu that needs to be deleted.
NameValueDescriptionExample
interfacevif0
See also:
/configuration/network/interfaces: Configue existing Interfaces
/configuration/network/interfaces/add-interface: adds another virtual interface to the system

REST-API Support:


This command is supported by the REST API:

Method: DELETE
URL: /api/configuration/network/interfaces/delete-interface

Example using curl:
curl -X DELETE /api/configuration/network/interfaces/delete-interface