Skip to main content
DELETE
Delete a destination
DELETE /webarchive/destinations/{id} deletes a destination. Deleting a destination doesn’t remove any files from your bucket.
The delete returns 409 destination_in_use while a snapshot delivery that is not finished, failed or canceled still uses the destination.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Destination ID: dst_ followed by 32 hex characters.

Pattern: ^dst_[a-f0-9]{32}$
Example:

"dst_0123456789abcdef0123456789abcdef"

Response

Destination deleted

id
string

ID of the deleted destination

Example:

"dst_0123456789abcdef0123456789abcdef"

deleted
boolean
Example:

true