Skip to main content

Delete Resource Type

The FHIR conditional delete operation allows you to delete resources of a specific type that match certain search criteria. This is done using an HTTP DELETE request to the endpoint corresponding to the resource type with query parameters.

Note: The CLI delete command only supports deleting individual resource instances, not conditional deletion by type. For conditional deletion, use the TypeScript client or cURL.

To delete a single Patient resource:

haste-health api delete-type Patient

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