Smileline
PatientsPatientsId

Erase a patient

Owner only: the right-to-erasure request. In one short transaction the patient is restricted — hidden from every staff surface, contact details cleared, nothing new attachable, nothing sent — and an erasure request opens; the patient's CRM records (journeys, activities, conversations and messages, calls, voicemails, transcripts, tasks, consent and lead history) are then removed step by step, and stored files are cleaned up separately. `erasure` reports progress and what earlier copies may still hold the person. A patient with clinical or payment records (or an account, a consent or payer relationship, an insurance subscription or referral evidence) keeps those records under a restricted identity that only the owner can open, until a computed date (`erasure.status` is `kept`). Idempotent while the request runs. A refusal is 409 with the first reason's code (PATIENT_MERGED, PATIENT_LEGAL_HOLD, PATIENT_PAYS_FOR_OTHERS, PATIENT_CARRIES_PAYER_AUTHORITY, PATIENT_HAS_LIVE_WORK — including an active membership or payment plan — or PATIENT_HAS_FAMILY_RELATIONSHIP) and every reason in details.reasons. Use Archive to hide a record while keeping its history.

Loading the API reference…