Skip to main content
DELETE
/
v1
/
accounts
/
{account_hash}
Delete Account
curl --request DELETE \
  --url https://api.lobstr.io/v1/accounts/{account_hash} \
  --header 'Authorization: <authorization>'
{
  "id": "<string>",
  "object": "<string>",
  "deleted": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.lobstr.io/llms.txt

Use this file to discover all available pages before exploring further.

This endpoint permanently removes a specific platform account using its hash ID. All associated cookies and configurations will be deleted.

Headers

Authorization
string
required
Your API authentication token. Value: Token YOUR_API_KEY

Query Parameters

account_hash
string
required
The unique identifier (hash) of the account to delete. Example: d3e97f2cd33658f301bdbe807402ab30

Response Field Explanations

id
string
The deleted account’s identifier. Example: "d3e97f2cd33658f301bdbe807402ab30"
object
string
Always “account”. Example: "account"
deleted
boolean
Confirmation of deletion. Always true on success.
This action is permanent and cannot be undone. Make sure no active squids are using this account before deletion.
Use Get Account Details first to check the squids array and see which squids depend on this account.
Deleting an account does not affect your squids, but they will fail to run if they require this account for authentication.
If you’re experiencing cookie issues, use Refresh Cookies instead of deleting and re-creating the account.

Code Examples

curl -X DELETE "https://api.lobstr.io/v1/accounts/d3e97f2cd33658f301bdbe807402ab30" \
  -H "Authorization: Token YOUR_API_KEY"

Response

200
{
  "id": "d3e97f2cd33658f301bdbe807402ab30",
  "object": "account",
  "deleted": true
}
404
{
  "detail": "Account not found."
}