[[["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 2024-04-19 UTC."],[[["\u003cp\u003eThis webpage details the process for deleting a data policy using a DELETE HTTP request to a specific URL.\u003c/p\u003e\n"],["\u003cp\u003eThe operation requires a \u003ccode\u003ename\u003c/code\u003e path parameter, which specifies the resource name of the data policy to delete, formatted as \u003ccode\u003eprojects/{projectNumber}/locations/{locationId}/dataPolicies/{dataPolicyId}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAn optional \u003ccode\u003eforce\u003c/code\u003e query parameter, when set to \u003ccode\u003etrue\u003c/code\u003e, allows deletion of a data policy even if it's referenced by one or more table columns.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and a successful response will also be an empty JSON object.\u003c/p\u003e\n"],["\u003cp\u003eDeleting a data policy requires specific authorization scopes (\u003ccode\u003ehttps://www.googleapis.com/auth/bigquery\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e) and the \u003ccode\u003ebigquery.dataPolicies.delete\u003c/code\u003e IAM permission on the specified resource.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.dataPolicies.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nDeletes the data policy specified by its resource name.\n\n### HTTP request\n\n`DELETE https://bigquerydatapolicy.googleapis.com/v1/{name=projects/*/locations/*/dataPolicies/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/bigquery`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `bigquery.dataPolicies.delete`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]