Skip to main content
POST
Add Zone Password
只有具有 AdminOps 角色的用户才能执行此操作。
要在单个请求中添加多个密码,请将字符串数组传递给 password 字段。

授权

Authorization
string
header
必填

Use your Bright Data API Key as a Bearer token in the Authorization header.

How to authenticate:

  1. Obtain your API Key from the Bright Data account settings at https://brightdata.com/cp/setting/users
  2. Include the API Key in the Authorization header of your requests
  3. Format: Authorization: Bearer YOUR_API_KEY

Example:

Learn how to get your Bright Data API key: https://docs.brightdata.com/api-reference/authentication

请求体

application/json
zone
string
必填

The name of the zone to add the password to.

password
string[]
必填

The password(s) to add. Pass a single string or an array of strings to add multiple passwords.

响应

OK