Account Deletion
Create an account deletion request on behalf of a user
Creates a pending deletion request for a user who did not use the self-service flow (e.g. requested by email). The request still requires a separate approve before deletion is scheduled — this only gets the user into the review pipeline. Idempotent — repeat calls while a request is active for that user return the existing request.
post/admin/account-deletions
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/admin/account-deletions
- Auth: API key in header x-api-key
Headers
x-api-keystring required
Admin API key
Request body
Example request
{
"email": "person@example.com",
"reason": "requested via email, not the self-service flow",
"user_id": "user-1"
}Response
Created (or existing active) deletion request
Example response
{
"request": {
"account_locked_at": "2026-09-10T00:01:00Z",
"archive_id": "acct-del-archive-1",
"completed_at": "2026-08-14T00:05:00Z",
"email": "person@example.com",
"id": "acct-del-1",
"initiated_by": "admin-user",
"reason": "no longer using the service",
"requested_at": "2026-08-10T00:00:00Z",
"review_reason": "confirmed via support ticket",
"reviewed_at": "2026-08-11T00:00:00Z",
"reviewed_by": "admin-user",
"scheduled_purge_at": "2026-08-14T00:00:00Z",
"status": "pending",
"stripe_subscription_cancellation_scheduled": true,
"stripe_subscription_cancelled": true,
"subscription_period_end": "2026-09-10T00:00:00Z",
"updated_at": "2026-08-11T00:00:00Z",
"user_id": "user-1",
"username": "Example User"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.