Request deletion of your private health passport
Legacy request endpoint. Creates an auditable pending request and returns 202 Accepted. Repeated requests return the existing open request. New clients use /v1/me/account/deletion to preserve a private status receipt after Better Auth credentials are removed. Processing uses the privileged deletion worker; clinical, financial/safety/audit records and backups are handled separately.
Authorization
bearer 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
application/json
curl -X POST "https://example.com/v1/me/passport/deletion-request" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "status": "pending", "requestedAt": "2019-08-24T14:15:22Z"}Read your legacy deletion request while its login is still valid GET
Requires a valid original login and forbids impersonation. Better Auth sessions are removed at completion; use the separate private receipt from /v1/me/account/deletion for post-deletion status. No account is created and no patient or receipt selector is accepted.
Export your private passport readings as portable JSON GET
Includes original and superseded food-energy, BP, glucose, weight and pulse observations. Returns at most 1,000 readings per page, newest first; repeat with nextCursor until it is null. The JSON is returned directly to the authenticated owner, with no public file or URL.