Delete your account (GDPR right to erasure)
DELETE
/api/v1/account
const url = 'https://dashboard.justcrawl.io/api/v1/account';const options = { method: 'DELETE', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"email":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://dashboard.justcrawl.io/api/v1/account \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "email": "example" }'Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ” Media type application/json
object
email
required
Email confirmation (must match account email)
string
Example generated
{ "email": "example"}Responses
Section titled “ Responses ”Account deleted successfully
Email confirmation does not match
User not found
Account cannot be deleted (e.g. owns active org)