Delete and anonymize the authenticated account.
Irreversible self-service deletion. Password accounts send `password`; Google/Apple accounts send `provider` plus a fresh `idToken` matching an identity already linked to the caller. Deletion immediately cancels active orders and subscriptions, revokes every access token and registered device, releases email/phone/social identities for reuse, retains anonymized financial history, and takes owner business content offline. External subscription-provider cancellation is durably queued and retried until successful; no automatic subscription refund is issued.
Authorization
bearerAuth AdonisJS access-token guard (middleware.auth({ guards: ["api"] })). Send Authorization: Bearer <oat_…> (issued by /auth/register, /auth/login, /auth/social/{google,apple}, or /auth/guest).
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/v1/me" \ -H "Content-Type: application/json" \ -d '{ "password": "CurrentPassword123", "reason": "I no longer use the service" }'{ "data": { "deleted": true, "deletedAt": "2026-08-04T12:00:00.000Z", "purgeAt": null }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}{ "error": { "code": "AUTH_REQUIRED", "message": "Authentication is required to access this resource." }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}{ "error": { "code": "VALIDATION_ERROR", "message": "One or more fields are invalid.", "fields": [ { "path": "email", "rule": "email", "message": "Must be a valid email address." } ] }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}{ "error": { "code": "RATE_LIMITED", "message": "Too many requests — slow down and retry after the indicated delay.", "retryAfterSeconds": 60 }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}