Zones
zones
Methods
Create Zone
Deletes an existing zone.
Edits a zone. Only one zone property can be changed at a time.
Zone Details
Lists, searches, sorts, and filters your zones. Listing zones across more than 500 accounts is currently not allowed.
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example: Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY
An account ID
An account Name. Optional filter operators can be provided to extend refine the search:
equal
(default)not_equal
starts_with
ends_with
contains
starts_with_case_sensitive
ends_with_case_sensitive
contains_case_sensitive
Direction to order zones.
Whether to match all search requirements or at least one (any).
A domain name. Optional filter operators can be provided to extend refine the search:
equal
(default)not_equal
starts_with
ends_with
contains
starts_with_case_sensitive
ends_with_case_sensitive
contains_case_sensitive
Field to order zones by.
Page number of paginated results.
Number of zones per page.
A zone status
Whether the API call was successful
Domain types
Activation Check
zones.activation_check
Methods
Triggeres a new activation check for a PENDING Zone. This can be triggered every 5 min for paygo/ent customers, every hour for FREE Zones.
Custom Nameservers
zones.custom_nameservers
Methods
Get metadata for account-level custom nameservers on a zone.
Deprecated in favor of Show DNS Settings.
Set metadata for account-level custom nameservers on a zone.
If you would like new zones in the account to use account custom nameservers by default, use PUT /accounts/:identifier to set the account setting use_account_custom_ns_by_default to true.
Deprecated in favor of Update DNS Settings.
Holds
zones.holds
Methods
Enforce a zone hold on the zone, blocking the creation and activation of zones with this zone's hostname.
Stop enforcement of a zone hold on the zone, permanently or temporarily, allowing the creation and activation of zones with this zone's hostname.
Update the hold_after
and/or include_subdomains
values on an existing zone hold.
The hold is enabled if the hold_after
date-time value is in the past.
Retrieve whether the zone is subject to a zone hold, and metadata about the hold.
Domain types
Plans
zones.plans
Methods
Details of the available plan that the zone can subscribe to.
Lists available plans the zone can subscribe to.
Domain types
Rate Plans
zones.rate_plans
Methods
Lists all rate plans the zone can subscribe to.
Settings
zones.settings
Methods
Updates a single zone setting by the identifier
Fetch a single zone setting by name
Domain types
Subscriptions
zones.subscriptions
Methods
Create a zone subscription, either plan or add-ons.
Lists zone subscription details.
Updates zone subscriptions, either plan or add-ons.