Skip to main content
PUT
cURL

授权

Authorization
string
header
必填

在 Authorization 头中使用您的 Bright Data API Key 作为 Bearer token。

认证方法:

  1. 从 Bright Data 账户设置获取您的 API Key: https://brightdata.com/cp/setting/users
  2. 在请求的 Authorization 头中包含 API Key
  3. 格式: Authorization: Bearer YOUR_API_KEY

示例:

了解如何获取 Bright Data API Key: https://docs.brightdata.com/cn/api-reference/authentication#如何生成新的-api-key?

路径参数

PARTNER_NAME
string
必填

将处理您请求的代理区域名称。

查询参数

id
string
必填

有效的客户 id

zone
string
默认值:residential

现有区域的名称

请求体

application/json
limit
integer
必填

新限制的字节数

示例:

5242880000

unit
string
必填

限制单位

示例:

"bw"

period
string
必填

单位时间(仅支持 d)

示例:

"d"

period_mult
number
必填

限制周期的天数

示例:

10

响应

200 - application/json

成功

unit
string

限制单位

示例:

"bw"

until
string
示例:

"2023-02-14T00:00:00.000Z"

start
string
示例:

"2022-11-15T00:00:00.000Z"

bust_action
string
示例:

"disable"

limit
integer

新限制的字节数量

示例:

5242880000