ee.data.createAssetHome

Attempts to create a home root folder (e.g. "users/joe") for the current user. This results in an error if the user already has a home root folder or the requested ID is unavailable.

UsageReturns
ee.data.createAssetHome(requestedId, callback)
ArgumentTypeDetails
requestedIdString

The requested ID of the home folder

(e.g. "users/joe").

callbackFunction, optional

An optional callback. If not supplied, the call is made synchronously.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!