Create a zone
Creates a new zone using the parameters passed in the body of the request.
You can also create a zone on the dashboard.
Creating a zone may result in charges being made against your account balance, these charges are detailed in the cost
response object. For example, if the create operation results in provisioning a reserved datacenter zone subject to per-IP charges. In the event of the available account balance being insufficient an HTTP 402 Payment Required
response will be returned.
📘 Previewing zone charges
To preview any charges required to create the zone use the
preview
query parameter. Whenpreview=true
the proposed new zone is returned in thezone
response object and any associated charges are returned in thecost
response object, but no changes are actually committed. This is useful todry run
creating a zone and view its` cost impact, before committing to the zone create operation.
Authorizations
Query Parameters
Set to true
preview zone changes and associated charges without committing them.
Set to true
to skip the resource check and create the zone even if there may be a delay before the zone is available to use (where it enters the "waiting for approval" state), false
to only create the zone if the platform has sufficient resources to create it immediately (otherwise an HTTP 202 insufficient_resource_likely
response will be returned). Defaults to true
if the skip_resource_check
parameter is not supplied. For more information see the Docs - https://docs.bytio.com/zones/waiting-for-approval
Body
An object representing the type of alert to configure for this zone. To remove the alert for a zone, pass null`` in the value of the
alert` property.
The billing method used for the zone.
per_gigabyte
, per_connection
The number of simultaneous connections allowed when billing_method
is set to per_connection
.
1 < x < 50000
An array of ISO 3166 two-letter country codes representing the available country exit nodes for IPs in the zone.
When exclusivity_type=domains
contains an array of string domain names (i.e. example.com
) that the IPs in this datacenter
zone are exclusive for when ip_type=reserved
.
Set to true
if the Zone is enabled, false
otherwise. Disabled zones will not allow any requests to be routed through them.
The IP pool exclusivity type a datacenter
zone is using when ip_type
is reserved
.
non_exclusive
, all
, domains
Set to shared`` to use the shared datacenter network or
reserved` to configure a custom IP pool.
shared
, reserved
The name of the zone.
100
The proxy network requests to this zone are routed through. Note that the residential
network is not available during the Free Trial (you must Top Up your account to use the Residential network).
datacenter
, mobile
, residential
The number of reserved IPs used in datacenter
zones when ip_type
is reserved
.
1 < x < 10000