Method: projects.assets.delete
HTTP request
DELETE https://earthengine.googleapis.com/v1beta/{name=projects/*/assets/**}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. The name of the asset to delete. name is of the format "projects/*/assets/**" (e.g., "projects/earthengine-legacy/assets/users/[USER]/[ASSET]"). All user-owned assets are under the project "earthengine-legacy" (e.g., "projects/earthengine-legacy/assets/users/foo/bar"). All other assets are under the project "earthengine-public" (e.g., "projects/earthengine-public/assets/LANDSAT").
Authorization requires the following IAM permission on the specified resource name :
earthengine.assets.delete
|
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/earthengine
https://www.googleapis.com/auth/cloud-platform
For more information, see the OAuth 2.0 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-03-06 UTC.
[null,null,["Last updated 2025-03-06 UTC."],[[["Permanently deletes an Earth Engine asset using an HTTP DELETE request."],["Requires specifying the asset's full name in the URL, including the project (\"earthengine-legacy\" for user-owned assets or \"earthengine-public\" for others)."],["Needs appropriate IAM permission (`earthengine.assets.delete`) for the specified asset."],["An empty request body is required, and a successful deletion results in an empty response body."],["Authorization can be done with either the `earthengine` or `cloud-platform` OAuth scopes."]]],["To delete an asset, a `DELETE` request is sent to the specified URL, which follows gRPC Transcoding syntax. The `name` path parameter, formatted as \"projects/*/assets/**\", is required and indicates the asset to be deleted. Authorization requires the `earthengine.assets.delete` IAM permission. The request body should be empty, and a successful deletion returns an empty JSON object. Either of the mentioned OAuth scopes is needed for authorization.\n"]]