Method: fhir.delete

Full name: projects.locations.datasets.fhirStores.fhir.delete

Deletes a FHIR resource.

Implements the FHIR standard delete interaction (DSTU2, STU3, R4, R5).

Note: Unless resource versioning is disabled by setting the disableResourceVersioning flag on the FHIR store, the deleted resources are moved to a history repository that can still be retrieved through vread and related methods, unless they are removed by the purge method.

For samples that show how to call delete, see Deleting a FHIR resource.

HTTP request

DELETE https://healthcare.googleapis.com/v1beta1/{name=projects/*/locations/*/datasets/*/fhirStores/*/fhir/*/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the resource to delete.

Authorization requires the following IAM permission on the specified resource name:

  • healthcare.fhirResources.delete

Request body

The request body must be empty.

Response body

If successful, the response is a generic HTTP response whose format is defined by the method.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-healthcare
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年07月23日 UTC.