Menghapus kebijakan IAM yang terlampir untuk resource
Permintaan HTTP
POST https://metastore.googleapis.com/v1alpha/{resource}:removeIamPolicy
Parameter jalur
Parameter
resource
string
Wajib. Nama resource relatif dari resource dataplane untuk menghapus kebijakan IAM, dalam bentuk berikut:
projects/{projectId}/locations/{locationId}/services/{serviceId}/databases/{database_id} atau projects/{projectId}/locations/{locationId}/services/{serviceId}/databases/{database_id}/tables/{table_id}.
Isi permintaan
Isi permintaan memuat data dengan struktur berikut:
Representasi JSON
{"asynchronous": boolean}
Kolom
asynchronous
boolean
Opsional. Menghapus kebijakan IAM yang dilampirkan ke database atau tabel secara asinkron saat ditetapkan. Secara default, nilainya adalah false.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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/)."]]