Delete my account and data
Permanently deletes your account and all your data, after revoking Avycenna's access to connected device accounts (Google Health, Withings). Clinics lose access immediately. Requires `confirm=true`. Cannot be undone — download your data first if you want a copy.
Authorization
HTTPBearer In: header
Query Parameters
falseHeader Parameters
Response Body
application/json
application/json
curl -X DELETE "https://example.com/api/v1/users/me"null{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}Complete onboarding (self-service role selection) POST
One-time, self-service equivalent of `/users/role` for a user's own account. Lets a newly-registered user pick their role (patient, doctor, clinic_staff, or clinic_admin) once, right after sign-up. `admin` and `researcher` can't be self-assigned here — an existing admin must grant those via `/users/role`. Fails with 409 if this account has already completed onboarding; use `/users/role` (admin-only) to change role after that point.
Download all my data GET
A complete, machine-readable copy of everything Avycenna stores about you — profile, health data, ECGs with waveforms, symptoms, medication, sharing and access history — as JSON. Credentials are never included.