---
title: Routes
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/python)

[Magic Transit](https://developers.cloudflare.com/api/python/resources/magic_transit)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Routes

##### [List Routes](https://developers.cloudflare.com/api/python/resources/magic_transit/subresources/routes/methods/list)

magic\_transit.routes.list(RouteListParams\*\*kwargs) -> [RouteListResponse](<https://developers.cloudflare.com/api/python/resources/magic_transit#(resource)%20magic_transit.routes%20%3E%20(model)%20route_list_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/magic/routes

##### [Route Details](https://developers.cloudflare.com/api/python/resources/magic_transit/subresources/routes/methods/get)

magic\_transit.routes.get(strroute\_id, RouteGetParams\*\*kwargs) -> [RouteGetResponse](<https://developers.cloudflare.com/api/python/resources/magic_transit#(resource)%20magic_transit.routes%20%3E%20(model)%20route_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/magic/routes/{route\_id}

##### [Create a Route](https://developers.cloudflare.com/api/python/resources/magic_transit/subresources/routes/methods/create)

magic\_transit.routes.create(RouteCreateParams\*\*kwargs) -> [RouteCreateResponse](<https://developers.cloudflare.com/api/python/resources/magic_transit#(resource)%20magic_transit.routes%20%3E%20(model)%20route_create_response%20%3E%20(schema)>)

POST/accounts/{account\_id}/magic/routes

##### [Update Route](https://developers.cloudflare.com/api/python/resources/magic_transit/subresources/routes/methods/update)

magic\_transit.routes.update(strroute\_id, RouteUpdateParams\*\*kwargs) -> [RouteUpdateResponse](<https://developers.cloudflare.com/api/python/resources/magic_transit#(resource)%20magic_transit.routes%20%3E%20(model)%20route_update_response%20%3E%20(schema)>)

PUT/accounts/{account\_id}/magic/routes/{route\_id}

##### [Delete Route](https://developers.cloudflare.com/api/python/resources/magic_transit/subresources/routes/methods/delete)

magic\_transit.routes.delete(strroute\_id, RouteDeleteParams\*\*kwargs) -> [RouteDeleteResponse](<https://developers.cloudflare.com/api/python/resources/magic_transit#(resource)%20magic_transit.routes%20%3E%20(model)%20route_delete_response%20%3E%20(schema)>)

DELETE/accounts/{account\_id}/magic/routes/{route\_id}

##### [Update Many Routes](https://developers.cloudflare.com/api/python/resources/magic_transit/subresources/routes/methods/bulk_update)

magic\_transit.routes.bulk\_update(RouteBulkUpdateParams\*\*kwargs) -> [RouteBulkUpdateResponse](<https://developers.cloudflare.com/api/python/resources/magic_transit#(resource)%20magic_transit.routes%20%3E%20(model)%20route_bulk_update_response%20%3E%20(schema)>)

PUT/accounts/{account\_id}/magic/routes

##### [Delete Many Routes](https://developers.cloudflare.com/api/python/resources/magic_transit/subresources/routes/methods/empty)

magic\_transit.routes.empty(RouteEmptyParams\*\*kwargs) -> [RouteEmptyResponse](<https://developers.cloudflare.com/api/python/resources/magic_transit#(resource)%20magic_transit.routes%20%3E%20(model)%20route_empty_response%20%3E%20(schema)>)

DELETE/accounts/{account\_id}/magic/routes

##### ModelsExpand Collapse

<details>

<summary>

class Scope: …

Used only for ECMP routes.

</summary>

colo\_names: Optional\[List\[str]]

List of colo names for the ECMP scope.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20scope%20%3E%20(schema)%20%3E%20(property)%20colo_names">Link to this property</a>

colo\_regions: Optional\[List\[str]]

List of colo regions for the ECMP scope.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20scope%20%3E%20(schema)%20%3E%20(property)%20colo_regions">Link to this property</a>

</details>

[Link to this property](<#(resource)%20magic_transit.routes%20%3E%20(model)%20scope%20%3E%20(schema)>)

<details>

<summary>

class RouteListResponse: …

</summary>

<details>

<summary>

routes: Optional\[List\[Route]]

</summary>

id: str

Identifier

maxLength32

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_list_response%20%3E%20(schema)%20%3E%20(property)%20routes%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

nexthop: str

The next-hop IP Address for the static route.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_list_response%20%3E%20(schema)%20%3E%20(property)%20routes%20%3E%20(items)%20%3E%20(property)%20nexthop">Link to this property</a>

prefix: str

IP Prefix in Classless Inter-Domain Routing format.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_list_response%20%3E%20(schema)%20%3E%20(property)%20routes%20%3E%20(items)%20%3E%20(property)%20prefix">Link to this property</a>

priority: int

Priority of the static route.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_list_response%20%3E%20(schema)%20%3E%20(property)%20routes%20%3E%20(items)%20%3E%20(property)%20priority">Link to this property</a>

created\_on: Optional\[datetime]

When the route was created.

formatdate-time

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_list_response%20%3E%20(schema)%20%3E%20(property)%20routes%20%3E%20(items)%20%3E%20(property)%20created_on">Link to this property</a>

description: Optional\[str]

An optional human provided description of the static route.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_list_response%20%3E%20(schema)%20%3E%20(property)%20routes%20%3E%20(items)%20%3E%20(property)%20description">Link to this property</a>

modified\_on: Optional\[datetime]

When the route was last modified.

formatdate-time

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_list_response%20%3E%20(schema)%20%3E%20(property)%20routes%20%3E%20(items)%20%3E%20(property)%20modified_on">Link to this property</a>

scope: Optional\[Scope]

Used only for ECMP routes.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_list_response%20%3E%20(schema)%20%3E%20(property)%20routes%20%3E%20(items)%20%3E%20(property)%20scope">Link to this property</a>

weight: Optional\[int]

Optional weight of the ECMP scope - if provided.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_list_response%20%3E%20(schema)%20%3E%20(property)%20routes%20%3E%20(items)%20%3E%20(property)%20weight">Link to this property</a>

</details>

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_list_response%20%3E%20(schema)%20%3E%20(property)%20routes">Link to this property</a>

</details>

[Link to this property](<#(resource)%20magic_transit.routes%20%3E%20(model)%20route_list_response%20%3E%20(schema)>)

<details>

<summary>

class RouteGetResponse: …

</summary>

<details>

<summary>

route: Optional\[Route]

</summary>

id: str

Identifier

maxLength32

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_get_response%20%3E%20(schema)%20%3E%20(property)%20route%20%3E%20(property)%20id">Link to this property</a>

nexthop: str

The next-hop IP Address for the static route.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_get_response%20%3E%20(schema)%20%3E%20(property)%20route%20%3E%20(property)%20nexthop">Link to this property</a>

prefix: str

IP Prefix in Classless Inter-Domain Routing format.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_get_response%20%3E%20(schema)%20%3E%20(property)%20route%20%3E%20(property)%20prefix">Link to this property</a>

priority: int

Priority of the static route.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_get_response%20%3E%20(schema)%20%3E%20(property)%20route%20%3E%20(property)%20priority">Link to this property</a>

created\_on: Optional\[datetime]

When the route was created.

formatdate-time

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_get_response%20%3E%20(schema)%20%3E%20(property)%20route%20%3E%20(property)%20created_on">Link to this property</a>

description: Optional\[str]

An optional human provided description of the static route.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_get_response%20%3E%20(schema)%20%3E%20(property)%20route%20%3E%20(property)%20description">Link to this property</a>

modified\_on: Optional\[datetime]

When the route was last modified.

formatdate-time

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_get_response%20%3E%20(schema)%20%3E%20(property)%20route%20%3E%20(property)%20modified_on">Link to this property</a>

scope: Optional\[Scope]

Used only for ECMP routes.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_get_response%20%3E%20(schema)%20%3E%20(property)%20route%20%3E%20(property)%20scope">Link to this property</a>

weight: Optional\[int]

Optional weight of the ECMP scope - if provided.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_get_response%20%3E%20(schema)%20%3E%20(property)%20route%20%3E%20(property)%20weight">Link to this property</a>

</details>

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_get_response%20%3E%20(schema)%20%3E%20(property)%20route">Link to this property</a>

</details>

[Link to this property](<#(resource)%20magic_transit.routes%20%3E%20(model)%20route_get_response%20%3E%20(schema)>)

<details>

<summary>

class RouteCreateResponse: …

</summary>

id: str

Identifier

maxLength32

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_create_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

nexthop: str

The next-hop IP Address for the static route.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_create_response%20%3E%20(schema)%20%3E%20(property)%20nexthop">Link to this property</a>

prefix: str

IP Prefix in Classless Inter-Domain Routing format.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_create_response%20%3E%20(schema)%20%3E%20(property)%20prefix">Link to this property</a>

priority: int

Priority of the static route.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_create_response%20%3E%20(schema)%20%3E%20(property)%20priority">Link to this property</a>

created\_on: Optional\[datetime]

When the route was created.

formatdate-time

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_create_response%20%3E%20(schema)%20%3E%20(property)%20created_on">Link to this property</a>

description: Optional\[str]

An optional human provided description of the static route.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_create_response%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

modified\_on: Optional\[datetime]

When the route was last modified.

formatdate-time

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_create_response%20%3E%20(schema)%20%3E%20(property)%20modified_on">Link to this property</a>

scope: Optional\[Scope]

Used only for ECMP routes.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_create_response%20%3E%20(schema)%20%3E%20(property)%20scope">Link to this property</a>

weight: Optional\[int]

Optional weight of the ECMP scope - if provided.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_create_response%20%3E%20(schema)%20%3E%20(property)%20weight">Link to this property</a>

</details>

[Link to this property](<#(resource)%20magic_transit.routes%20%3E%20(model)%20route_create_response%20%3E%20(schema)>)

<details>

<summary>

class RouteUpdateResponse: …

</summary>

modified: Optional\[bool]

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_update_response%20%3E%20(schema)%20%3E%20(property)%20modified">Link to this property</a>

<details>

<summary>

modified\_route: Optional\[ModifiedRoute]

</summary>

id: str

Identifier

maxLength32

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_update_response%20%3E%20(schema)%20%3E%20(property)%20modified_route%20%3E%20(property)%20id">Link to this property</a>

nexthop: str

The next-hop IP Address for the static route.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_update_response%20%3E%20(schema)%20%3E%20(property)%20modified_route%20%3E%20(property)%20nexthop">Link to this property</a>

prefix: str

IP Prefix in Classless Inter-Domain Routing format.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_update_response%20%3E%20(schema)%20%3E%20(property)%20modified_route%20%3E%20(property)%20prefix">Link to this property</a>

priority: int

Priority of the static route.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_update_response%20%3E%20(schema)%20%3E%20(property)%20modified_route%20%3E%20(property)%20priority">Link to this property</a>

created\_on: Optional\[datetime]

When the route was created.

formatdate-time

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_update_response%20%3E%20(schema)%20%3E%20(property)%20modified_route%20%3E%20(property)%20created_on">Link to this property</a>

description: Optional\[str]

An optional human provided description of the static route.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_update_response%20%3E%20(schema)%20%3E%20(property)%20modified_route%20%3E%20(property)%20description">Link to this property</a>

modified\_on: Optional\[datetime]

When the route was last modified.

formatdate-time

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_update_response%20%3E%20(schema)%20%3E%20(property)%20modified_route%20%3E%20(property)%20modified_on">Link to this property</a>

scope: Optional\[Scope]

Used only for ECMP routes.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_update_response%20%3E%20(schema)%20%3E%20(property)%20modified_route%20%3E%20(property)%20scope">Link to this property</a>

weight: Optional\[int]

Optional weight of the ECMP scope - if provided.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_update_response%20%3E%20(schema)%20%3E%20(property)%20modified_route%20%3E%20(property)%20weight">Link to this property</a>

</details>

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_update_response%20%3E%20(schema)%20%3E%20(property)%20modified_route">Link to this property</a>

</details>

[Link to this property](<#(resource)%20magic_transit.routes%20%3E%20(model)%20route_update_response%20%3E%20(schema)>)

<details>

<summary>

class RouteDeleteResponse: …

</summary>

deleted: Optional\[bool]

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_delete_response%20%3E%20(schema)%20%3E%20(property)%20deleted">Link to this property</a>

<details>

<summary>

deleted\_route: Optional\[DeletedRoute]

</summary>

id: str

Identifier

maxLength32

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_delete_response%20%3E%20(schema)%20%3E%20(property)%20deleted_route%20%3E%20(property)%20id">Link to this property</a>

nexthop: str

The next-hop IP Address for the static route.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_delete_response%20%3E%20(schema)%20%3E%20(property)%20deleted_route%20%3E%20(property)%20nexthop">Link to this property</a>

prefix: str

IP Prefix in Classless Inter-Domain Routing format.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_delete_response%20%3E%20(schema)%20%3E%20(property)%20deleted_route%20%3E%20(property)%20prefix">Link to this property</a>

priority: int

Priority of the static route.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_delete_response%20%3E%20(schema)%20%3E%20(property)%20deleted_route%20%3E%20(property)%20priority">Link to this property</a>

created\_on: Optional\[datetime]

When the route was created.

formatdate-time

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_delete_response%20%3E%20(schema)%20%3E%20(property)%20deleted_route%20%3E%20(property)%20created_on">Link to this property</a>

description: Optional\[str]

An optional human provided description of the static route.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_delete_response%20%3E%20(schema)%20%3E%20(property)%20deleted_route%20%3E%20(property)%20description">Link to this property</a>

modified\_on: Optional\[datetime]

When the route was last modified.

formatdate-time

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_delete_response%20%3E%20(schema)%20%3E%20(property)%20deleted_route%20%3E%20(property)%20modified_on">Link to this property</a>

scope: Optional\[Scope]

Used only for ECMP routes.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_delete_response%20%3E%20(schema)%20%3E%20(property)%20deleted_route%20%3E%20(property)%20scope">Link to this property</a>

weight: Optional\[int]

Optional weight of the ECMP scope - if provided.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_delete_response%20%3E%20(schema)%20%3E%20(property)%20deleted_route%20%3E%20(property)%20weight">Link to this property</a>

</details>

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_delete_response%20%3E%20(schema)%20%3E%20(property)%20deleted_route">Link to this property</a>

</details>

[Link to this property](<#(resource)%20magic_transit.routes%20%3E%20(model)%20route_delete_response%20%3E%20(schema)>)

<details>

<summary>

class RouteBulkUpdateResponse: …

</summary>

modified: Optional\[bool]

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_bulk_update_response%20%3E%20(schema)%20%3E%20(property)%20modified">Link to this property</a>

<details>

<summary>

modified\_routes: Optional\[List\[ModifiedRoute]]

</summary>

id: str

Identifier

maxLength32

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_bulk_update_response%20%3E%20(schema)%20%3E%20(property)%20modified_routes%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

nexthop: str

The next-hop IP Address for the static route.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_bulk_update_response%20%3E%20(schema)%20%3E%20(property)%20modified_routes%20%3E%20(items)%20%3E%20(property)%20nexthop">Link to this property</a>

prefix: str

IP Prefix in Classless Inter-Domain Routing format.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_bulk_update_response%20%3E%20(schema)%20%3E%20(property)%20modified_routes%20%3E%20(items)%20%3E%20(property)%20prefix">Link to this property</a>

priority: int

Priority of the static route.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_bulk_update_response%20%3E%20(schema)%20%3E%20(property)%20modified_routes%20%3E%20(items)%20%3E%20(property)%20priority">Link to this property</a>

created\_on: Optional\[datetime]

When the route was created.

formatdate-time

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_bulk_update_response%20%3E%20(schema)%20%3E%20(property)%20modified_routes%20%3E%20(items)%20%3E%20(property)%20created_on">Link to this property</a>

description: Optional\[str]

An optional human provided description of the static route.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_bulk_update_response%20%3E%20(schema)%20%3E%20(property)%20modified_routes%20%3E%20(items)%20%3E%20(property)%20description">Link to this property</a>

modified\_on: Optional\[datetime]

When the route was last modified.

formatdate-time

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_bulk_update_response%20%3E%20(schema)%20%3E%20(property)%20modified_routes%20%3E%20(items)%20%3E%20(property)%20modified_on">Link to this property</a>

scope: Optional\[Scope]

Used only for ECMP routes.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_bulk_update_response%20%3E%20(schema)%20%3E%20(property)%20modified_routes%20%3E%20(items)%20%3E%20(property)%20scope">Link to this property</a>

weight: Optional\[int]

Optional weight of the ECMP scope - if provided.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_bulk_update_response%20%3E%20(schema)%20%3E%20(property)%20modified_routes%20%3E%20(items)%20%3E%20(property)%20weight">Link to this property</a>

</details>

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_bulk_update_response%20%3E%20(schema)%20%3E%20(property)%20modified_routes">Link to this property</a>

</details>

[Link to this property](<#(resource)%20magic_transit.routes%20%3E%20(model)%20route_bulk_update_response%20%3E%20(schema)>)

<details>

<summary>

class RouteEmptyResponse: …

</summary>

deleted: Optional\[bool]

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_empty_response%20%3E%20(schema)%20%3E%20(property)%20deleted">Link to this property</a>

<details>

<summary>

deleted\_routes: Optional\[List\[DeletedRoute]]

</summary>

id: str

Identifier

maxLength32

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_empty_response%20%3E%20(schema)%20%3E%20(property)%20deleted_routes%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

nexthop: str

The next-hop IP Address for the static route.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_empty_response%20%3E%20(schema)%20%3E%20(property)%20deleted_routes%20%3E%20(items)%20%3E%20(property)%20nexthop">Link to this property</a>

prefix: str

IP Prefix in Classless Inter-Domain Routing format.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_empty_response%20%3E%20(schema)%20%3E%20(property)%20deleted_routes%20%3E%20(items)%20%3E%20(property)%20prefix">Link to this property</a>

priority: int

Priority of the static route.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_empty_response%20%3E%20(schema)%20%3E%20(property)%20deleted_routes%20%3E%20(items)%20%3E%20(property)%20priority">Link to this property</a>

created\_on: Optional\[datetime]

When the route was created.

formatdate-time

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_empty_response%20%3E%20(schema)%20%3E%20(property)%20deleted_routes%20%3E%20(items)%20%3E%20(property)%20created_on">Link to this property</a>

description: Optional\[str]

An optional human provided description of the static route.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_empty_response%20%3E%20(schema)%20%3E%20(property)%20deleted_routes%20%3E%20(items)%20%3E%20(property)%20description">Link to this property</a>

modified\_on: Optional\[datetime]

When the route was last modified.

formatdate-time

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_empty_response%20%3E%20(schema)%20%3E%20(property)%20deleted_routes%20%3E%20(items)%20%3E%20(property)%20modified_on">Link to this property</a>

scope: Optional\[Scope]

Used only for ECMP routes.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_empty_response%20%3E%20(schema)%20%3E%20(property)%20deleted_routes%20%3E%20(items)%20%3E%20(property)%20scope">Link to this property</a>

weight: Optional\[int]

Optional weight of the ECMP scope - if provided.

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_empty_response%20%3E%20(schema)%20%3E%20(property)%20deleted_routes%20%3E%20(items)%20%3E%20(property)%20weight">Link to this property</a>

</details>

<a href="#(resource)%20magic_transit.routes%20%3E%20(model)%20route_empty_response%20%3E%20(schema)%20%3E%20(property)%20deleted_routes">Link to this property</a>

</details>

[Link to this property](<#(resource)%20magic_transit.routes%20%3E%20(model)%20route_empty_response%20%3E%20(schema)>)