Skip to main content

Delete Resource Instance

The FHIR delete operation allows you to delete a specific resource instance from the FHIR server. This is done using an HTTP DELETE request to the endpoint corresponding to the resource type and ID.

Delete a Patient resource using the Haste Health CLI:

haste-health api delete-instance Patient 12345

This deletes immediately, with no confirmation prompt — double-check the resource type and id before running it.

Replace [tenant] with your tenant name and [project] with your project ID.