ee.data.deleteAsset

Deletes the asset with the given id.

UsageReturns
ee.data.deleteAsset(assetId, callback)
ArgumentTypeDetails
assetIdStringThe ID of the asset to delete.
callbackFunction, optionalAn optional callback. If not supplied, the call is made synchronously. The callback is passed an empty object and an error message, if any.