Im trying to implement a script which clean(delete all data, but not destroy the store) here are some examples:
this deletes one single record
curl -X DELETE \
-H "Authorization: Bearer $(gcloud auth application-default print-access-token)" \
"https://healthcare.googleapis.com/v1/projects/PROJECT-ID/locations/LOCATION-ID/datasets/DATASET-ID/fhirStores/FHIR-STORE-ID/fhir/SupplyDelivery/SUPPLYDELLIVERY-ID"
this deletes all the data, BUT also destroy the store
curl -X DELETE \
-H "Authorization: Bearer $(gcloud auth application-default print-access-token)" \
"https://healthcare.googleapis.com/v1/projects/PROJECT-ID/locations/LOCATION-ID/datasets/DATASET-ID/fhirStores/FHIR-STORE-ID"
How to delete all the data, but not destroying the store??
I have tried placing * on front of store I want to clean like: FHIR-STORE-ID/* but it doesn't work