POST https://metastore.googleapis.com/v1alpha/{resource}:removeIamPolicy
Path parameters
Parameters
resource
string
Required. The relative resource name of the dataplane resource to remove IAM policy, in the following form:
projects/{projectId}/locations/{locationId}/services/{serviceId}/databases/{database_id} or projects/{projectId}/locations/{locationId}/services/{serviceId}/databases/{database_id}/tables/{table_id}.
Request body
The request body contains data with the following structure:
JSON representation
{"asynchronous": boolean}
Fields
asynchronous
boolean
Optional. Removes IAM policy attached to database or table asynchronously when it is set. The default is false.
[[["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-30 UTC."],[[["\u003cp\u003eThis webpage details the process of removing attached IAM policies from a specified resource using a POST HTTP request to the provided endpoint.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eresource\u003c/code\u003e path parameter is a required string, specifying the target resource for policy removal using its relative name, including project, location, service, database, and optionally table identifiers.\u003c/p\u003e\n"],["\u003cp\u003eThe request body accepts a JSON payload with an optional \u003ccode\u003easynchronous\u003c/code\u003e boolean field, defaulting to false, to determine if the policy removal process is done asynchronously.\u003c/p\u003e\n"],["\u003cp\u003eA successful operation returns a response body with a JSON structure containing a \u003ccode\u003esuccess\u003c/code\u003e boolean field, indicating whether the IAM policy was successfully removed.\u003c/p\u003e\n"],["\u003cp\u003eTo perform this operation, the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope is required, as detailed in the Authorization Scopes.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.services.removeIamPolicy\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.RemoveIamPolicyResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nRemoves the attached IAM policies for a resource\n\n### HTTP request\n\n`POST https://metastore.googleapis.com/v1alpha/{resource}:removeIamPolicy`\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nResponse message for [DataprocMetastore.RemoveIamPolicy](/dataproc-metastore/docs/reference/rest/v1alpha/projects.locations.services/removeIamPolicy#google.cloud.metastore.v1alpha.DataprocMetastore.RemoveIamPolicy).\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]