ee.data.renameAsset

Renames the asset from sourceId to destinationId.
Usage Returns
ee.data.renameAsset(sourceId, destinationId, callback )
Argument Type Details
sourceId
String The ID of the asset to rename.
destinationId
String The new ID of the asset.
callback
Function, optional An optional callback. If not supplied, the call is made synchronously. The callback is passed an empty object and an error message, if any.
Create a Mobile Website
View Site in Mobile | Classic
Share by: