API Reference·续12

DELETE/accounts/{account_id}/magic/routes/{route_id}

Update Many Routes

PUT/accounts/{account_id}/magic/routes

Delete Many Routes

DELETE/accounts/{account_id}/magic/routes

Magic TransitBGP Filter Profiles

List BGP Filter Profiles

GET/accounts/{account_id}/magic/bgp/filter_profiles

Get BGP Filter Profile

GET/accounts/{account_id}/magic/bgp/filter_profiles/{profile_id}

Create BGP Filter Profile

POST/accounts/{account_id}/magic/bgp/filter_profiles

Update BGP Filter Profile

PUT/accounts/{account_id}/magic/bgp/filter_profiles/{profile_id}

Delete BGP Filter Profile

DELETE/accounts/{account_id}/magic/bgp/filter_profiles/{profile_id}

Magic TransitSites

List Sites

GET/accounts/{account_id}/magic/sites

Site Details

GET/accounts/{account_id}/magic/sites/{site_id}

Create a new Site

POST/accounts/{account_id}/magic/sites

Update Site

PUT/accounts/{account_id}/magic/sites/{site_id}

Patch Site

PATCH/accounts/{account_id}/magic/sites/{site_id}

Delete Site

DELETE/accounts/{account_id}/magic/sites/{site_id}

Magic TransitSitesApp Configuration

List App Configs

GET/accounts/{account_id}/magic/sites/{site_id}/app_configs

Create a new App Config

POST/accounts/{account_id}/magic/sites/{site_id}/app_configs

Update an App Config

PUT/accounts/{account_id}/magic/sites/{site_id}/app_configs/{app_config_id}

Update an App Config

PATCH/accounts/{account_id}/magic/sites/{site_id}/app_configs/{app_config_id}

Delete App Config

DELETE/accounts/{account_id}/magic/sites/{site_id}/app_configs/{app_config_id}

Magic TransitSitesACLs

List Site ACLs

GET/accounts/{account_id}/magic/sites/{site_id}/acls

Site ACL Details

GET/accounts/{account_id}/magic/sites/{site_id}/acls/{acl_id}

Create a new Site ACL

POST/accounts/{account_id}/magic/sites/{site_id}/acls

Update Site ACL

PUT/accounts/{account_id}/magic/sites/{site_id}/acls/{acl_id}

Patch Site ACL

PATCH/accounts/{account_id}/magic/sites/{site_id}/acls/{acl_id}

Delete Site ACL

DELETE/accounts/{account_id}/magic/sites/{site_id}/acls/{acl_id}

Magic TransitSitesLANs

List Site LANs

GET/accounts/{account_id}/magic/sites/{site_id}/lans

Site LAN Details

GET/accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}

Create a new Site LAN

POST/accounts/{account_id}/magic/sites/{site_id}/lans

Update Site LAN

PUT/accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}

Patch Site LAN

PATCH/accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}

Delete Site LAN

DELETE/accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}

Magic TransitSitesWANs

List Site WANs

GET/accounts/{account_id}/magic/sites/{site_id}/wans

Site WAN Details

GET/accounts/{account_id}/magic/sites/{site_id}/wans/{wan_id}

Create a new Site WAN

POST/accounts/{account_id}/magic/sites/{site_id}/wans

Update Site WAN

PUT/accounts/{account_id}/magic/sites/{site_id}/wans/{wan_id}

Patch Site WAN

PATCH/accounts/{account_id}/magic/sites/{site_id}/wans/{wan_id}

Delete Site WAN

DELETE/accounts/{account_id}/magic/sites/{site_id}/wans/{wan_id}

Magic TransitConnectors

List Connectors

GET/accounts/{account_id}/magic/connectors

Get Connector

GET/accounts/{account_id}/magic/connectors/{connector_id}

Create Connector

POST/accounts/{account_id}/magic/connectors

Update Connector

PUT/accounts/{account_id}/magic/connectors/{connector_id}

Edit Connector

PATCH/accounts/{account_id}/magic/connectors/{connector_id}

Delete Connector

DELETE/accounts/{account_id}/magic/connectors/{connector_id}

Magic TransitConnectorsInterrupts

List Interrupts

GET/accounts/{account_id}/magic/connectors/{connector_id}/interrupts

Create Interrupt

POST/accounts/{account_id}/magic/connectors/{connector_id}/interrupts

Magic TransitConnectorsEvents

List Events

GET/accounts/{account_id}/magic/connectors/{connector_id}/telemetry/events

Get Event

GET/accounts/{account_id}/magic/connectors/{connector_id}/telemetry/events/{event_t}.{event_n}

Magic TransitConnectorsEventsLatest

Get latest Events

GET/accounts/{account_id}/magic/connectors/{connector_id}/telemetry/events/latest

Magic TransitConnectorsSnapshots

List Snapshots

GET/accounts/{account_id}/magic/connectors/{connector_id}/telemetry/snapshots

Get Snapshot

GET/accounts/{account_id}/magic/connectors/{connector_id}/telemetry/snapshots/{snapshot_t}

Magic TransitConnectorsSnapshotsLatest

Get latest Snapshots

GET/accounts/{account_id}/magic/connectors/{connector_id}/telemetry/snapshots/latest

Magic TransitCf1 Sites

List CF1 Sites

GET/accounts/{account_id}/magic/cf1_sites

Get CF1 Site

GET/accounts/{account_id}/magic/cf1_sites/{cf1_site_id}

Create CF1 Sites

POST/accounts/{account_id}/magic/cf1_sites

Update CF1 Site

PATCH/accounts/{account_id}/magic/cf1_sites/{cf1_site_id}

Delete CF1 Site

DELETE/accounts/{account_id}/magic/cf1_sites/{cf1_site_id}

Magic TransitCf1 SitesRamps

List CF1 Site Ramps

GET/accounts/{account_id}/magic/cf1_sites/{cf1_site_id}/ramps

Get CF1 Site Ramp

GET/accounts/{account_id}/magic/cf1_sites/{cf1_site_id}/ramps/{ramp_id}

Create CF1 Site Ramps

POST/accounts/{account_id}/magic/cf1_sites/{cf1_site_id}/ramps

Delete CF1 Site Ramp

DELETE/accounts/{account_id}/magic/cf1_sites/{cf1_site_id}/ramps/{ramp_id}

Magic TransitPCAPs

List packet capture requests

GET/accounts/{account_id}/pcaps

Get PCAP request

GET/accounts/{account_id}/pcaps/{pcap_id}

Create PCAP request

POST/accounts/{account_id}/pcaps

Stop full PCAP

PUT/accounts/{account_id}/pcaps/{pcap_id}/stop

Magic TransitPCAPsOwnership

List PCAPs Bucket Ownership

GET/accounts/{account_id}/pcaps/ownership

Add buckets for full packet captures

POST/accounts/{account_id}/pcaps/ownership

Delete buckets for full packet captures

DELETE/accounts/{account_id}/pcaps/ownership/{ownership_id}

Validate buckets for full packet captures

POST/accounts/{account_id}/pcaps/ownership/validate

Magic TransitPCAPsDownload

Download Simple PCAP

GET/accounts/{account_id}/pcaps/{pcap_id}/download

DDoS Protection

DDoS ProtectionAdvanced TCP Protection

DDoS ProtectionAdvanced TCP ProtectionAllowlist

List all allowlist prefixes.

GET/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist

Create allowlist prefix.

POST/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist

Delete all allowlist prefixes.

DELETE/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist

DDoS ProtectionAdvanced TCP ProtectionAllowlistItems

Get allowlist prefix.

GET/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist/{prefix_id}

Update allowlist prefix.

PATCH/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist/{prefix_id}

Delete allowlist prefix.

DELETE/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist/{prefix_id}

DDoS ProtectionAdvanced TCP ProtectionPrefixes

List all prefixes.

GET/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes

Create prefix.

POST/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes

Delete all prefixes.

DELETE/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes

Create multiple prefixes.

POST/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes/bulk

DDoS ProtectionAdvanced TCP ProtectionPrefixesItems

Get prefix.

GET/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes/{prefix_id}

Update prefix.