AI-generated Key Takeaways
-
The
DELETErequest tohttps://earthengine.googleapis.com/v1beta/{name=projects/*/assets/**}is used to delete an asset. -
The required
nameparameter in the path specifies the asset to delete, following the format "projects/*/assets/**". -
Deleting an asset requires the
earthengine.assets.deleteIAM permission on the specified resource name. -
The request body must be empty, and a successful response body is an empty JSON object.
-
Authorization requires one of the specified OAuth scopes:
https://www.googleapis.com/auth/earthengineorhttps://www.googleapis.com/auth/cloud-platform.
Deletes an asset.
HTTP request
DELETE https://earthengine.googleapis.com/v1beta/{name=projects/*/assets/**}
The URL uses gRPC Transcoding syntax.
Path 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 .

