Page Summary
-
This documentation explains how to delete an asset using an HTTP DELETE request.
-
The asset to be deleted is identified by its
namepath parameter, which follows a specific format including the project and asset path. -
Deleting an asset requires the
earthengine.assets.deleteIAM permission on the specified resource name. -
The request body for this operation must be empty, and a successful response will also have an empty body.
Deletes an asset.
HTTP request
DELETE https://earthengine.googleapis.com/v1alpha/{name=projects/*/assets/**}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The name of the asset to delete. Authorization requires the following IAM permission on the specified resource
|
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/earthenginehttps://www.googleapis.com/auth/cloud-platform
For more information, see the OAuth 2.0 Overview.