REST API - delete

appliance techpreview networking routes: delete

Delete static routing rules.

Request:

HTTP request

POST https://{server}/rest/appliance/techpreview/networking/routes/delete

Request Body Structure:

{
    "route"{
        "prefix"1,
        "destination""string",
        "interface_name""string",
        "gateway""string"
    }
}

Request Body Parameters:

Name Type Description
bold = required
route route Static routing rule.
route.destination string Destination address that defines this route.

route.prefix long Destination CIDR prefix that defines this route. See http://www.oav.net/mirrors/cidr.html for netmask-to-prefix conversion.

route.gateway string Gateway address.

route.interface_name string Output device interface, for example, "nic0".

Response:

HTTP Status Code: 200

None

Errors:

HTTP Status Code Type Description
500 error Generic error