PUT /accounts/{account_id}/magic/routes

Update multiple Magic static routes. Use ?validate_only=true as an optional query parameter to run validation only without persisting changes. Only fields for a route that need to be changed need be provided.

Servers

Path parameters

Name Type Required Description
account_id String Yes

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
routes[] Array Yes
routes[].id String Yes

Identifier

routes[].priority Integer Yes

Priority of the static route.

routes[].nexthop String Yes

The next-hop IP Address for the static route.

routes[].prefix String Yes

IP Prefix in Classless Inter-Domain Routing format.

routes[].description String No

An optional human provided description of the static route.

routes[].scope Object No

Used only for ECMP routes.

routes[].scope.colo_names[] Array No

List of colo names for the ECMP scope.

routes[].scope.colo_regions[] Array No

List of colo regions for the ECMP scope.

routes[].weight Integer No

Optional weight of the ECMP scope - if provided.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.