Entfernt die verknüpften IAM-Richtlinien für eine Ressource
HTTP-Anfrage
POST https://metastore.googleapis.com/v1alpha/{resource}:removeIamPolicy
Pfadparameter
Parameter
resource
string
Pflichtangabe. Der relative Ressourcenname der Dataplane-Ressource, für die die IAM-Richtlinie entfernt werden soll, im folgenden Format:
projects/{projectId}/locations/{locationId}/services/{serviceId}/databases/{database_id} oder projects/{projectId}/locations/{locationId}/services/{serviceId}/databases/{database_id}/tables/{table_id}.
Anfragetext
Der Anfragetext enthält Daten mit folgender Struktur:
JSON-Darstellung
{"asynchronous": boolean}
Felder
asynchronous
boolean
Optional. Entfernt die an die Datenbank oder Tabelle angehängte IAM-Richtlinie asynchron, wenn sie festgelegt ist. Der Standardwert lautet „falsch“.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-03-04 (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/)."]]