Delete your account (GDPR right to erasure)
DELETE
/api/v1/account
const url = 'https://api.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://api.justcrawl.io/api/v1/account \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "email": "example" }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
email
required
Email confirmation (must match account email)
string
Examplegenerated
{ "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)