POST https://metastore.googleapis.com/v1beta/{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 endpoint facilitates the removal of attached IAM policies from a specified resource, such as a database or table, within the Dataproc Metastore.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a POST method directed to a specific URL, which includes a \u003ccode\u003eresource\u003c/code\u003e path parameter that uniquely identifies the target within a project, location, and service context.\u003c/p\u003e\n"],["\u003cp\u003eThe request body accepts an optional \u003ccode\u003easynchronous\u003c/code\u003e boolean field to dictate whether the IAM policy removal process should run synchronously or asynchronously.\u003c/p\u003e\n"],["\u003cp\u003eThe response body returns a \u003ccode\u003esuccess\u003c/code\u003e boolean field indicating whether the IAM policy removal was completed successfully.\u003c/p\u003e\n"],["\u003cp\u003eAuthenticating the request requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope, ensuring the operation is performed with the necessary permissions.\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/v1beta/{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/v1beta/projects.locations.services/removeIamPolicy#google.cloud.metastore.v1beta.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/)."]]