delete_user#

static geetools.ee_authenticate.AuthenticateAccessor.delete_user(name='', credential_pathname='')#

Delete a user credential file.

Parameters:
  • name (str) – The name of the user. If not set, it will delete the default user.

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

Example

import ee
import geetools

# cannot be displayed in the documentation as the creation
# of a new user requires user interaction
ee.Authenticate.geetools.new_user("secondary")
ee.Authenticate.geetools.delete_user("secondary")