Find And Delete Resource
A 3-step recipe with Medplum. We can help you get access.
Recipe · 3 steps
Find And Delete Resource
with Medplum · Healthcare Interoperability Operations
Find a resource via search and delete it if present.
- Search the resource type. Medplum returns a FHIR Bundle whose entry array holds any matching resources.
- Read the matched resource by id to capture an audit snapshot before it is deleted.
- Delete the matched resource by id. Medplum returns 204 No Content on a successful delete.
What you'll need to have ready
- resourceType: The FHIR resource type to search and potentially delete.
For your developer
Arazzo workflow medplum:find-and-delete-resource, 3 operations: search → readResource → deleteResource. Specs on APIs.io.