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

const metriport = new MetriportMedicalApi("YOUR_API_KEY");

const facilityId = "2.16.840.1.113883.3.666.5.2004.4.102";
await metriport.deleteFacility(facilityId);

Path Params

id
string
required

The ID of your Facility.

Response

204 - no content, upon successful delete.

import { MetriportMedicalApi } from "@metriport/api-sdk";

const metriport = new MetriportMedicalApi("YOUR_API_KEY");

const facilityId = "2.16.840.1.113883.3.666.5.2004.4.102";
await metriport.deleteFacility(facilityId);