Authorizations
Use your Bright Data API Key as a Bearer token in the Authorization header.
How to authenticate:
- Obtain your API Key from the Bright Data account settings at https://brightdata.com/cp/setting/users
- Include the API Key in the Authorization header of your requests
- Format:
Authorization: Bearer YOUR_API_KEY
Example:
Authorization: Bearer b5648e1096c6442f60a6c4bbbe73f8d2234d3d8324554bd6a7ec8f3f251f07dfLearn how to get your Bright Data API key: https://docs.brightdata.com/api-reference/authentication
Body
application/json
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
Zone name. Can be skipped to affect all your zones
Response
201
OK