Join us for our next
Google Maps Platform Developer Community Day in San Francisco in December!
Apply now to attend.
Send feedback
Delete a dataset
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
Permanently delete a dataset by sending an HTTP DELETE request to the specified endpoint with the dataset's ID.
Include the X-Goog-User-Project header to specify the project and an Authorization header with a valid bearer token for authentication.
Upon successful deletion, an empty JSON response ({}) is returned, indicating the dataset has been removed.
Delete a dataset by sending an HTTP DELETE request to the
delete dataset endpoint that
also includes the ID of the dataset:
https://mapsplatformdatasets.googleapis.com/v1/projects/PROJECT_NUMBER_OR_ID /datasets/DATASET_ID
For example:
curl -X DELETE \
-H 'X-Goog-User-Project: PROJECT_NUMBER_OR_ID ' \
-H "Authorization: Bearer $TOKEN" \
"https://mapsplatformdatasets.googleapis.com/v1/projects/PROJECT_NUMBER_OR_ID /datasets/f57074a0-a8b6-403e-9df1-e9fc46"
This request returns the following response:
{}
Send feedback
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 2026-10-20 UTC.
Need to tell us more?
[[["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 2026-10-20 UTC."],[],[]]