MembersRemoveError

public enum MembersRemoveError : CustomStringConvertible, JSONRepresentable

The MembersRemoveError union

  • No matching user found. The provided team_member_id, email, or external_id does not exist on this team.

    Declaration

    Swift

    case userNotFound
  • The user is not a member of the team.

    Declaration

    Swift

    case userNotInTeam
  • An unspecified error.

    Declaration

    Swift

    case other
  • Expected removed user and transfer_dest user to be different.

    Declaration

    Swift

    case removedAndTransferDestShouldDiffer
  • Expected removed user and transfer_admin user to be different.

    Declaration

    Swift

    case removedAndTransferAdminShouldDiffer
  • No matching user found for the argument transfer_dest_id.

    Declaration

    Swift

    case transferDestUserNotFound
  • The provided transfer_dest_id does not exist on this team.

    Declaration

    Swift

    case transferDestUserNotInTeam
  • The provided transfer_admin_id does not exist on this team.

    Declaration

    Swift

    case transferAdminUserNotInTeam
  • No matching user found for the argument transfer_admin_id.

    Declaration

    Swift

    case transferAdminUserNotFound
  • The transfer_admin_id argument must be provided when file transfer is requested.

    Declaration

    Swift

    case unspecifiedTransferAdminId
  • Specified transfer_admin user is not a team admin.

    Declaration

    Swift

    case transferAdminIsNotAdmin
  • The recipient user’s email is not verified.

    Declaration

    Swift

    case recipientNotVerified
  • The user is the last admin of the team, so it cannot be removed from it.

    Declaration

    Swift

    case removeLastAdmin
  • Cannot keep account and transfer the data to another user at the same time.

    Declaration

    Swift

    case cannotKeepAccountAndTransfer
  • Cannot keep account and delete the data at the same time. To keep the account the argument wipe_data should be set to false.

    Declaration

    Swift

    case cannotKeepAccountAndDeleteData
  • The email address of the user is too long to be disabled.

    Declaration

    Swift

    case emailAddressTooLongToBeDisabled
  • Cannot keep account of an invited user.

    Declaration

    Swift

    case cannotKeepInvitedUserAccount
  • 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.

    Declaration

    Swift

    case cannotRetainSharesWhenDataWiped
  • The user’s account must be kept in order to retain team shares. The argument keep_account should be set to true.

    Declaration

    Swift

    case cannotRetainSharesWhenNoAccountKept
  • Externally sharing files, folders, and links must be enabled in team settings in order to retain team shares for the user.

    Declaration

    Swift

    case cannotRetainSharesWhenTeamExternalSharingOff
  • Only a team admin, can convert this account to a Basic account.

    Declaration

    Swift

    case cannotKeepAccount
  • 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.

    Declaration

    Swift

    case cannotKeepAccountUnderLegalHold
  • To convert this member to a Basic account, they’ll first need to sign in to Dropbox and agree to the terms of service.

    Declaration

    Swift

    case cannotKeepAccountRequiredToSignTos
  • Declaration

    Swift

    public var description: String { get }