Deleting Datasets
Stay organized with collections
Save and categorize content based on your preferences.
Delete a Dataset
Send a request to delete the dataset.
curl -X DELETE \
-H 'X-Goog-User-Project: PROJECT_NUMBER' \
-H "Authorization: Bearer $TOKEN" \
https://mapsplatformdatasets.googleapis.com/v1alpha/projects/PROJECT_NUMBER/datasets/DATASET_ID
Sample Request
curl -X DELETE \
-H 'X-Goog-User-Project: PROJECT_NUMBER' \
-H "Authorization: Bearer $TOKEN" \
https://mapsplatformdatasets.googleapis.com/v1alpha/projects/802317041956/datasets/f57074a0-a8b6-403e-9df1-e8a9e4f9fc46
Sample Response
{}
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 2023-03-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-03-09 UTC."],[[["You can delete a dataset by sending a DELETE request to the specified endpoint with necessary authentication and project details."],["The request requires a Bearer token for authorization and a project number for identification."],["A successful deletion is indicated by an empty JSON response (`{}`)."]]],[]]