MembersSuspendError

public enum MembersSuspendError : CustomStringConvertible, JSONRepresentable

The MembersSuspendError 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
  • The user is not active, so it cannot be suspended.

    Declaration

    Swift

    case suspendInactiveUser
  • The user is the last admin of the team, so it cannot be suspended.

    Declaration

    Swift

    case suspendLastAdmin
  • Team is full. The organization has no available licenses.

    Declaration

    Swift

    case teamLicenseLimit
  • Declaration

    Swift

    public var description: String { get }