geetools.Authenticate.AuthenticateAccessor.rename_user#

static geetools.Authenticate.AuthenticateAccessor.rename_user(new, old='', credential_pathname='')#

Rename a user without changing the credentials.

Parameters:
  • new (str) – The new name of the user

  • old (str) – The name of the user to rename

  • credential_pathname (str) – The path to the folder where the credentials are stored. If not set, it uses the default path

Return type:

None

Example

import ee
import geetools

geetools.user.create("secondary")
geetools.User.rename("secondary", "new_default")
geetools.User.list()