If you want to transfer all teams, projects, and datasets owned by one user
to another you can with expropriateUser
. To use expropriateUser
you must
be an account admin and be from the same account as the user who is being
expropriated. This is useful if a user leaves your organization and you want
to transfer all of the teams, projects, and datasets they own to someone else.
expropriateUser(from, to)
a character of the email address of the user to expropriate from
a character of the email address of the user who should be the new owner
None
Expropriating requires confirmation. In an interactive session, you will be
asked to confirm. To avoid that prompt, or to expropriate datasets from a
non-interactive session, wrap the call in with_consent()
to give your
permission to expropriate