POST
/
zones

Authorizations

X-API-KEY
string
header
required

Query Parameters

preview
boolean

Set to true preview zone changes and associated charges without committing them.

skip_resource_check
boolean

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

application/json
alert
object | null

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.

billing_method
enum<string>

The billing method used for the zone.

Available options:
per_gigabyte,
per_connection
connection_count
integer

The number of simultaneous connections allowed when billing_method is set to per_connection.

Required range: 1 < x < 50000
countries
string[] | null

An array of ISO 3166 two-letter country codes representing the available country exit nodes for IPs in the zone.

domains
string[]

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.

enabled
boolean

Set to true if the Zone is enabled, false otherwise. Disabled zones will not allow any requests to be routed through them.

exclusivity_type
enum<string>

The IP pool exclusivity type a datacenter zone is using when ip_type is reserved.

Available options:
non_exclusive,
all,
domains
ip_type
enum<string>

Set to shared`` to use the shared datacenter network or reserved` to configure a custom IP pool.

Available options:
shared,
reserved
name
string

The name of the zone.

Maximum length: 100
network
enum<string>

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).

Available options:
datacenter,
mobile,
residential
pool_size
integer

The number of reserved IPs used in datacenter zones when ip_type is reserved.

Required range: 1 < x < 10000

Response

200 - application/json
info
object
preview
boolean

Whether the zone has actually been committed to your account, or is just a preview (set to true when the preview=true request parameter is set).

status
enum<string>
Available options:
ok
zone
object