Skip to main content
POST
Remove 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 remove the password from.

password
string[]
必填

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

响应

OK