Required. The resource name of the Attribute definition to delete. To preserve referential integrity, Attribute definitions referenced by a User data mapping or the latest revision of a Consent cannot be deleted.
Authorization requires the following IAM permission on the specified resource name:
healthcare.attributeDefinitions.delete
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[[["\u003cp\u003eThis operation deletes a specified Attribute definition within a consent store.\u003c/p\u003e\n"],["\u003cp\u003eDeletion is only possible if the Attribute definition is not referenced by any User data mapping or the latest revision of any Consent.\u003c/p\u003e\n"],["\u003cp\u003eThe operation requires a DELETE HTTP request to a specific URL, utilizing gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful deletion will result in an empty JSON object response.\u003c/p\u003e\n"],["\u003cp\u003eSpecific authorization permissions, either \u003ccode\u003ehealthcare.attributeDefinitions.delete\u003c/code\u003e are required along with OAuth Scopes.\u003c/p\u003e\n"]]],[],null,["# Method: attributeDefinitions.delete\n\n**Full name**: projects.locations.datasets.consentStores.attributeDefinitions.delete\n\nDeletes the specified [Attribute definition](/healthcare-api/docs/reference/rest/v1/projects.locations.datasets.consentStores.attributeDefinitions#AttributeDefinition). Fails if the Attribute definition is referenced by any [User data mapping](/healthcare-api/docs/reference/rest/v1/projects.locations.datasets.consentStores.userDataMappings#UserDataMapping), or the latest revision of any [Consent](/healthcare-api/docs/reference/rest/v1/projects.locations.datasets.consentStores.consents#Consent).\n\n### HTTP request\n\n`DELETE https://healthcare.googleapis.com/v1/{name=projects/*/locations/*/datasets/*/consentStores/*/attributeDefinitions/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-healthcare`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]