Erase a patient
Erases the patient's identity and keeps a tombstone that answers every repeat: pending while erasure runs, held under a lab's legal hold (retried by a repeat), completed when done or never held.
Erases the patient's identity and keeps a tombstone that answers every repeat: pending while erasure runs, held under a lab's legal hold (retried by a repeat), completed when done or never held.
Authorization
smilelineBearer AuthorizationBearer <token>
Smileline cell credential gl_sl_v1_<cell>_<secret>, one per Smileline cell; accepted only on /smileline/v1. A practice belongs to one cell and is not found from any other.
In: header
Path Parameters
practiceRef*string
Match
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/upatientRef*string
Match
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/uResponse Body
application/json
application/json
curl -X DELETE "https://example.com/smileline/v1/practices/string/patients/string"{ "status": "pending"}Empty
Empty
Empty
{ "error": "string", "code": "string"}