跳转到主要内容
POST
/
datasets
/
v3
/
snapshot
/
{snapshot_id}
/
cancel
cURL
curl --request POST \
  --url https://api.brightdata.com/datasets/v3/snapshot/{snapshot_id}/cancel \
  --header 'Authorization: Bearer <token>'
"OK"

Authorizations

Authorization
string
header
required

使用您的 Bright Data API Key 作为 Authorization 头中的 Bearer 令牌。

从这里获取 API Key: https://brightdata.com/cp/setting/users.

示例: Authorization: Bearer b5648e1096c6442f60a6c4bbbe73f8d2234d3d8324554bd6a7ec8f3f251f07df

Path Parameters

snapshot_id
string
required

触发采集时返回的 ID

Example:

"s_m4x7enmven8djfqak"

Response

200 - text/plain

成功

The response is of type string.

Example:

"OK"