configuration /
network /
ports
CLI REST-API
delete-port
delete-port [port]
The "delete-port" command removes a network port definition from the system's
network configuration. This should only be done if the port has been permanently
removed from the system, i.e. an interface card has been removed and will not
be reinstalled or replaced.
RESTAPI: Target the submenu that needs to be deleted.
Name | Value | Description | Example |
---|
| port | | lan0 |
See also:
/configuration/network/ports: Physical Network Configuration
/configuration/network/ports/add-port: add the definition of a physical network port to the configuration
REST-API Support:
This command is supported by the REST API:
Method: DELETE
URL: /api/configuration/network/ports/delete-port
Example using curl:
curl -X DELETE /api/configuration/network/ports/delete-port