---
title: "POST /zone/whitelist"
method: POST
path: "/zone/whitelist"
---

# POST /zone/whitelist

`POST /zone/whitelist`

Add IP to zone's allowlist

## Request body

- ZoneAndIP
  - `zone` string — Zone name. Can be skipped to affect all your zones
  - `ip` union, required — `string` or `array of strings` Single IP, IP Array, IP range, IP subnet or IP mask ### Example - Single IP: 10.20.30.40 - IP Array: ["10.20.30.40", "50.60.70.80",...] - Range: 10.20.30.40-10.20.30.50 - Subnet: 10.20.30.0/24 - Netmask: 10.20.30.0/255.255.252.0 **Note** IP array syntax requires quotes `"` for each IP string in array
    - string
    - string[]

## Response `201`

OK

---

[API](https://skmtc.net/brightdata/apis/bright-data-api.md) · [All operations](https://skmtc.net/brightdata/apis/bright-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/brightdata/bright-data-api/versions/7413c80b3b56/schema)
