[[["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 webpage documents how to archive a User data mapping within the Google Cloud Healthcare API using the \u003ccode\u003eprojects.locations.datasets.consentStores.userDataMappings.archive\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eArchiving a User data mapping requires making a POST request to a specific URL, using the resource's \u003ccode\u003ename\u003c/code\u003e as a path parameter, which identifies the User data mapping to be archived.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for archiving a User data mapping must be empty, and a successful operation will result in an empty response body.\u003c/p\u003e\n"],["\u003cp\u003eTo authorize the archive action, users need the \u003ccode\u003ehealthcare.userDataMappings.archive\u003c/code\u003e IAM permission on the specified User data mapping resource.\u003c/p\u003e\n"],["\u003cp\u003eThe operation needs one of two OAuth scopes, being either \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-healthcare\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: userDataMappings.archive\n\n**Full name**: projects.locations.datasets.consentStores.userDataMappings.archive\n\nArchives the specified [User data mapping](/healthcare-api/docs/reference/rest/v1/projects.locations.datasets.consentStores.userDataMappings#UserDataMapping).\n\n### HTTP request\n\n`POST https://healthcare.googleapis.com/v1/{name=projects/*/locations/*/datasets/*/consentStores/*/userDataMappings/*}:archive`\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 empty.\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)."]]