v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1376177324.7 KB
projects

Bulk deletes the FHIR resources from the given FHIR store. This method returns an Operation that can be used to track the progress of the deletion by calling GetOperation. The success and secondary_success counters correspond to the deleted current version and historical versions, respectively.

post/v1/{+name}:bulkDelete

Path parameters

namestring required

Required. The name of the FHIR store to bulk delete resources from, in the format of projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}.

Request body

untilstring

Optional. If provided, only resources updated before or atthis time are deleted. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, 2015-02-07T13:28:17.239+02:00 or 2017-01-01T00:00:00Z. The time must be specified to the second and include a time zone.

validateOnlyboolean

Optional. If set to true, the request will only perform a dry run. By default (once the behavior change is fully rolled out), this will default to true. During the transition period, the default depends on the Mendel flag status for the project.

versionConfig'VERSION_CONFIG_UNSPECIFIED' | 'ALL' | 'CURRENT_ONLY' | 'HISTORY_ONLY'

Optional. Specifies which version of the resources to delete.

typestring

Optional. String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) will be deleted.

Response

Successful response