DELETE
/
zones
/
{zone_id}
/
ips
curl --request DELETE \
  --url https://api.bytio.com/v1/zones/{zone_id}/ips \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "ips": [
    "<string>"
  ]
}'
{
  "status": "ok",
  "deleted_ips": [
    "<string>"
  ],
  "zone": {
    "zone_id": "1234ABCD",
    "name": "My zone",
    "network": "datacenter",
    "enabled": true,
    "alert": {
      "type": "dollars_per_day",
      "threshold": 500000.5,
      "action": "disable_zone",
      "last_triggered": "2023-11-07T05:31:56Z"
    },
    "billing_method": "per_gigabyte",
    "ip_type": "shared",
    "pool_size": 5000,
    "pool_size_actual": 5000,
    "exclusivity_type": "non_exclusive",
    "domains": [
      "<string>"
    ],
    "countries": [
      "<string>"
    ],
    "created_on": "2023-11-07T05:31:56Z",
    "last_updated": "2023-11-07T05:31:56Z",
    "provisioning_status": "provisioning",
    "has_standing_charges": true,
    "spend_this_month_cents": 123,
    "spend_today_cents": 123,
    "usage_this_month_bytes": 123,
    "usage_today_bytes": 123,
    "cost": {
      "per_gigabyte_cents": 123,
      "per_connection_cents_monthly": 123,
      "per_connection_count": 123,
      "per_connection_cents_monthly_total": 123,
      "ip_pool_count": 123,
      "ip_pool_per_ip_cents_monthly": 123,
      "ip_pool_cents_monthly_total": 123,
      "exclusivity_all_domains_per_ip_cents_monthly": 123,
      "exclusivity_all_domains_cents_monthly_total": 123,
      "exclusivity_per_domain_count": 123,
      "exclusivity_per_domain_per_ip_cents_monthly": 123,
      "exclusivity_per_domain_cents_monthly_total": 123,
      "standing_charges_cents_monthly": 123
    },
    "current_thoughput_bps": 123,
    "open_connections": 123
  }
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

zone_id
string
required

The ID of the zone to delete IPs from.

Maximum length: 8

Body

application/json
ips
string[]

An array of strings containing the IPs from the zone you wish to delete.

Response

200
application/json
Success
status
enum<string>
Available options:
ok
deleted_ips
string[]

An array of IPs that were removed from the zone.

zone
object