Method: projects.locations.services.removeIamPolicy

Stay organized with collections Save and categorize content based on your preferences.

Removes the attached IAM policies for a resource

HTTP request

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.

Response body

If successful, the response body contains data with the following structure:

Response message for DataprocMetastore.RemoveIamPolicy.

JSON representation
{
  "success": boolean
}
Fields
success

boolean

True if the policy is successfully removed.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.