Enterprise Update Enterprise Route

Enterprise Update Enterprise Route

Updates the specified enterprise route, set advertisement, and cost values. Required parameters include the original route, as returned by enterprise/getEnterpriseRouteTable, and the updated route with modified advertisement and route preference ordering.

Privileges required:

UPDATE ENTERPRISE_PROFILE

Request
URI
POST
https://{api_host}/portal/rest/enterprise/updateEnterpriseRoute
COPY
Request Body
{
    "enterpriseId": 0,
    "action": "string",
    "original": {
        "eligableExits": [
            {
                "type": "string",
                "exitType": "string",
                "edgeId": 0,
                "edgeName": "string",
                "profileId": 0,
                "cidrIp": "string",
                "cost": 0,
                "advertise": false,
                "order": 0
            }
        ],
        "preferredExits": [
            {
                "type": "string",
                "exitType": "string",
                "edgeId": 0,
                "edgeName": "string",
                "profileId": 0,
                "cidrIp": "string",
                "cost": 0,
                "advertise": false,
                "order": 0
            }
        ],
        "subnet": "string"
    },
    "updated": "enterprise_route_collection Object"
}
integer
enterpriseId
Optional

enterpriseId

string
action
Optional

action

original
Optional

original

updated
Optional

updated

Responses
200

Request was successfully processed

Returns enterprise_update_enterprise_route_result of type(s) application/json
This response body class contains all of the following: Inlineenterprise_update_enterprise_route_result0
"enterprise_update_enterprise_route_result Object"

400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/portal/rest/enterprise/updateEnterpriseRoute