geetools.Authenticate.AuthenticateAccessor.delete_user#

static geetools.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) – 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

# cannot be displayed in the documentation as the creation
# of a new user requires user interaction

# geetools.User.create("secondary")
# geetools.User.delete("secondary")
# geetools.User.set("secondary")
# will raise an error as the user does not exist anymore