Eliminazione di un set di dati
Elimina un set di dati inviando una richiesta HTTP DELETE
all'endpoint delete dataset che include anche l'ID del set di dati:
https://mapsplatformdatasets.googleapis.com/v1/projects/PROJECT_NUMBER_OR_ID/datasets/DATASET_ID
Ad esempio:
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"
Questa richiesta restituisce la seguente risposta:
{}
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-01-14 UTC.
[null,null,["Ultimo aggiornamento 2025-01-14 UTC."],[[["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."]]],[]]