Addressing
addressing
Address Maps
addressing.address_maps
Methods
Create a new address map under the account.
Delete a particular address map owned by the account. An Address Map must be disabled before it can be deleted.
Modify properties of an address map owned by the account.
Show a particular address map owned by the account.
List all address maps owned by the account.
Domain types
addressing.address_maps.accounts
Methods
Remove an account as a member of a particular address map.
Add an account as a member of a particular address map.
addressing.address_maps.ips
Methods
Remove an IP from a particular address map.
Add an IP from a prefix owned by the account to a particular address map.
addressing.address_maps.zones
Methods
Remove a zone as a member of a particular address map.
Add a zone as a member of a particular address map.
LOA Documents
addressing.loa_documents
Methods
Submit LOA document (pdf format) under the account.
addressing.loa_documents.downloads
Methods
Download specified LOA document under the account.
Prefixes
addressing.prefixes
Methods
Add a new prefix under the account.
Delete an unapproved prefix owned by the account.
Modify the description for a prefix owned by the account.
List a particular prefix owned by the account.
List all prefixes owned by the account.
Domain types
addressing.prefixes.bgp
addressing.prefixes.bgp.bindings
Methods
Creates a new Service Binding, routing traffic to IPs within the given CIDR to a service running on Cloudflare's network. Note: This API may only be used on prefixes currently configured with a Magic Transit service binding, and only allows creating service bindings for the Cloudflare CDN or Cloudflare Spectrum.
Delete a Service Binding
Fetch a single Service Binding
List the Cloudflare services this prefix is currently bound to. Traffic sent to an address within an IP prefix will be routed to the Cloudflare service of the most-specific Service Binding matching the address.
Example: binding 192.0.2.0/24
to Cloudflare Magic Transit and 192.0.2.1/32
to the Cloudflare CDN would route traffic for 192.0.2.1
to the CDN, and traffic for all other IPs in the prefix to Cloudflare Magic Transit.
Domain types
addressing.prefixes.bgp.prefixes
Methods
Create a BGP prefix, controlling the BGP advertisement status of a specific subnet. When created, BGP prefixes are initially withdrawn, and can be advertised with the Update BGP Prefix API.
Update the properties of a BGP Prefix, such as the on demand advertisement status (advertised or withdrawn).
Retrieve a single BGP Prefix according to its identifier
List all BGP Prefixes within the specified IP Prefix. BGP Prefixes are used to control which specific subnets are advertised to the Internet. It is possible to advertise subnets more specific than an IP Prefix by creating more specific BGP Prefixes.
Domain types
addressing.prefixes.bgp.statuses
Methods
Advertise or withdraw BGP route for a prefix.
List the current advertisement state for a prefix.
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example: X-Auth-Email: user@example.com
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example: X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194
Magic Transit Prefix Read Magic Transit Prefix Write IP Prefixes: Write IP Prefixes: Read IP Prefixes: BGP On Demand Write IP Prefixes: BGP On Demand Read
Identifier
Identifier
Whether the API call was successful
addressing.prefixes.delegations
Methods
Create a new account delegation for a given IP prefix.
Delete an account delegation for a given IP prefix.
List all delegations for a given account IP prefix.
Domain types
Regional Hostnames
addressing.regional_hostnames
Methods
Create a new Regional Hostname entry. Cloudflare will only use data centers that are physically located within the chosen region to decrypt and service HTTPS traffic. Learn more about Regional Services.
Delete the region configuration for a specific Regional Hostname.
Update the configuration for a specific Regional Hostname. Only the region_key of a hostname is mutable.
Fetch the configuration for a specific Regional Hostname, within a zone.
List all Regional Hostnames within a zone.
addressing.regional_hostnames.regions
Methods
List all Regional Services regions available for use by this account.
Services
addressing.services
Methods
Bring-Your-Own IP (BYOIP) prefixes onboarded to Cloudflare must be bound to a service running on the Cloudflare network to enable a Cloudflare product on the IP addresses. This endpoint can be used as a reference of available services on the Cloudflare network, and their service IDs.