Skip to content
Account

Delete Account

Permanently remove a platform account from your Lobstr account

The v1 API, for batchesSquids, tasks and runs: many calls on a schedule, delivered where you work. For one call that answers in seconds, use the API v2.
DELETEhttps://api.lobstr.io/v1/accounts/{account_hash}

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

Headers

Authorizationstringheaderrequired

Your API authentication token. Value: Token YOUR_API_KEY

Path Parameters

account_hashstringpathrequired

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

Response Field Explanations

idstring

The deleted account's identifier. Example: "d3e97f2cd33658f301bdbe807402ab30"

objectstring

Always "account". Example: "account"

deletedboolean

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."
}