class MembersRemoveError(MembersTransferFilesError): (source)
This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method. :ivar team.MembersRemoveError.remove_last_admin: The user is the last admin of the team, so it cannot be removed from it. :ivar team.MembersRemoveError.cannot_keep_account_and_transfer: Cannot keep account and transfer the data to another user at the same time. :ivar team.MembersRemoveError.cannot_keep_account_and_delete_data: Cannot keep account and delete the data at the same time. To keep the account the argument wipe_data should be set to ``False``. :ivar team.MembersRemoveError.email_address_too_long_to_be_disabled: The email address of the user is too long to be disabled. :ivar team.MembersRemoveError.cannot_keep_invited_user_account: Cannot keep account of an invited user. :ivar team.MembersRemoveError.cannot_retain_shares_when_data_wiped: Cannot retain team shares when the user's data is marked for deletion on their linked devices. The argument wipe_data should be set to ``False``. :ivar team.MembersRemoveError.cannot_retain_shares_when_no_account_kept: The user's account must be kept in order to retain team shares. The argument keep_account should be set to ``True``. :ivar team.MembersRemoveError.cannot_retain_shares_when_team_external_sharing_off: Externally sharing files, folders, and links must be enabled in team settings in order to retain team shares for the user. :ivar team.MembersRemoveError.cannot_keep_account: Only a team admin, can convert this account to a Basic account. :ivar team.MembersRemoveError.cannot_keep_account_under_legal_hold: This user content is currently being held. To convert this member's account to a Basic account, you'll first need to remove them from the hold. :ivar team.MembersRemoveError.cannot_keep_account_required_to_sign_tos: To convert this member to a Basic account, they'll first need to sign in to Dropbox and agree to the terms of service.
Method | is |
Check if the union tag is ``cannot_keep_account``. |
Method | is |
Check if the union tag is ``cannot_keep_account_and_delete_data``. |
Method | is |
Check if the union tag is ``cannot_keep_account_and_transfer``. |
Method | is |
Check if the union tag is ``cannot_keep_account_required_to_sign_tos``. |
Method | is |
Check if the union tag is ``cannot_keep_account_under_legal_hold``. |
Method | is |
Check if the union tag is ``cannot_keep_invited_user_account``. |
Method | is |
Check if the union tag is ``cannot_retain_shares_when_data_wiped``. |
Method | is |
Check if the union tag is ``cannot_retain_shares_when_no_account_kept``. |
Method | is |
Check if the union tag is ``cannot_retain_shares_when_team_external_sharing_off``. |
Method | is |
Check if the union tag is ``email_address_too_long_to_be_disabled``. |
Method | is |
Check if the union tag is ``remove_last_admin``. |
Class Variable | cannot |
Undocumented |
Class Variable | cannot |
Undocumented |
Class Variable | cannot |
Undocumented |
Class Variable | cannot |
Undocumented |
Class Variable | cannot |
Undocumented |
Class Variable | cannot |
Undocumented |
Class Variable | cannot |
Undocumented |
Class Variable | cannot |
Undocumented |
Class Variable | cannot |
Undocumented |
Class Variable | email |
Undocumented |
Class Variable | remove |
Undocumented |
Method | _process |
Undocumented |
Inherited from MembersTransferFilesError
:
Method | is |
Check if the union tag is ``recipient_not_verified``. |
Method | is |
Check if the union tag is ``removed_and_transfer_admin_should_differ``. |
Method | is |
Check if the union tag is ``removed_and_transfer_dest_should_differ``. |
Method | is |
Check if the union tag is ``transfer_admin_is_not_admin``. |
Method | is |
Check if the union tag is ``transfer_admin_user_not_found``. |
Method | is |
Check if the union tag is ``transfer_admin_user_not_in_team``. |
Method | is |
Check if the union tag is ``transfer_dest_user_not_found``. |
Method | is |
Check if the union tag is ``transfer_dest_user_not_in_team``. |
Method | is |
Check if the union tag is ``unspecified_transfer_admin_id``. |
Class Variable | recipient |
Undocumented |
Class Variable | removed |
Undocumented |
Class Variable | removed |
Undocumented |
Class Variable | transfer |
Undocumented |
Class Variable | transfer |
Undocumented |
Class Variable | transfer |
Undocumented |
Class Variable | transfer |
Undocumented |
Class Variable | transfer |
Undocumented |
Class Variable | unspecified |
Undocumented |
Inherited from MembersDeactivateError
(via MembersTransferFilesError
):
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``user_not_in_team``. |
Class Variable | other |
Undocumented |
Class Variable | user |
Undocumented |
Class Variable | _catch |
Undocumented |
Inherited from UserSelectorError
(via MembersTransferFilesError
, MembersDeactivateError
):
Method | is |
Check if the union tag is ``user_not_found``. |
Class Variable | user |
Undocumented |