POST /accounts/{account_id}/magic/routes

Creates a new Magic static route. Use ?validate_only=true as an optional query parameter to run validation only without persisting changes.

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
priority Integer Yes

Priority of the static route.

nexthop String Yes

The next-hop IP Address for the static route.

prefix String Yes

IP Prefix in Classless Inter-Domain Routing format.

description String No

An optional human provided description of the static route.

scope Object No

Used only for ECMP routes.

scope.colo_names[] Array No

List of colo names for the ECMP scope.

scope.colo_regions[] Array No

List of colo regions for the ECMP scope.

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.