Stay organized with collections Save and categorize content based on your preferences.
Deletes the dataset specified by the datasetId value. Before you can delete a dataset, you must delete all its tables, either manually or by specifying deleteContents. Immediately after deletion, you can create another dataset with the same name.
HTTP requestDELETE https://bigquery.googleapis.com/bigquery/v2/projects/{projectId}/datasets/{datasetId}
The URL uses gRPC Transcoding syntax.
Path parameters ParametersprojectId
string
Required. Project ID of the dataset being deleted
datasetId
string
Required. Dataset ID of dataset being deleted
Query parameters ParametersdeleteContents
boolean
If True, delete all the tables in the dataset. If False and the dataset contains tables, the request will fail. Default is False
Request bodyThe request body must be empty.
Response bodyIf successful, the response body is an empty JSON object.
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/bigquery
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-02 UTC.
[[["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-07-02 UTC."],[[["This page details how to delete a dataset using a `DELETE` HTTP request to the BigQuery API."],["The request requires two path parameters: `projectId` and `datasetId`, to specify which dataset should be deleted."],["A `deleteContents` query parameter is available to optionally delete all tables within the dataset, which defaults to `false`."],["The request body for this operation must be empty, and a successful deletion will return an empty JSON response."],["Deleting a dataset requires either the `https://www.googleapis.com/auth/bigquery` or `https://www.googleapis.com/auth/cloud-platform` authorization scope."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4