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" }'Requires an interactive signed-in session. API keys and preview or impersonation sessions receive 403 auth_forbidden.
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
The caller is not an interactive session (for example an API key).
User not found
Account cannot be deleted (e.g. owns active org)