DELETE
/
medical
/
v1
/
patient
/
{id}
curl --request DELETE \
  --url https://api.sandbox.metriport.com/medical/v1/patient/{id} \
  --header 'x-api-key: <api-key>'
import { MetriportMedicalApi } from "@metriport/api-sdk";

const metriport = new MetriportMedicalApi("YOUR_API_KEY");

const patientId = "2.16.840.1.113883.3.666.5.2004.2.110";
const facilityId = "2.16.840.1.113883.3.666.5.2004.4.102";
await metriport.deletePatient(patientId, facilityId);

Query Params

facilityId
string

The ID of the Facility where the patient is receiving care.

Path Params

id
string
required

The ID of the Patient to delete.

Response

204 - no content, upon successful delete.