Method: projects.datasets.delete
Stay organized with collections
Save and categorize content based on your preferences.
Deletes the specified dataset.
HTTP request
DELETE https://mapsplatformdatasets.googleapis.com/v1/{name=projects/*/datasets/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. The name of the dataset to delete. Format: projects/{project}/datasets/{datasetId}
|
Request body
The request body must be empty.
Response body
If successful, the response body is empty.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
IAM Permissions
Requires the following IAM permission on the name
resource:
mapsplatformdatasets.datasets.delete
For more information, see the IAM documentation.
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-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003eThis operation deletes a specified dataset within a Google Cloud project.\u003c/p\u003e\n"],["\u003cp\u003eIt requires a \u003ccode\u003eDELETE\u003c/code\u003e request to a specific URL, including the project and dataset IDs in the path.\u003c/p\u003e\n"],["\u003cp\u003eUsers need appropriate authorization with the \u003ccode\u003ecloud-platform\u003c/code\u003e scope and \u003ccode\u003emapsplatformdatasets.datasets.delete\u003c/code\u003e permission.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty, and a successful deletion results in an empty response body.\u003c/p\u003e\n"]]],[],null,["# Method: projects.datasets.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_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\nDeletes the specified dataset.\n\n### HTTP request\n\n`DELETE https://mapsplatformdatasets.googleapis.com/v1/{name=projects/*/datasets/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|-------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the dataset to delete. Format: projects/{project}/datasets/{datasetId} |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is empty.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `mapsplatformdatasets.datasets.delete`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]