MembersSetPermissionsError

public enum MembersSetPermissionsError : CustomStringConvertible, JSONRepresentable

The MembersSetPermissionsError union

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

    Declaration

    Swift

    case userNotFound
  • Cannot remove the admin setting of the last admin.

    Declaration

    Swift

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

    Declaration

    Swift

    case userNotInTeam
  • Cannot remove/grant permissions.

    Declaration

    Swift

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

    Declaration

    Swift

    case teamLicenseLimit
  • An unspecified error.

    Declaration

    Swift

    case other
  • Declaration

    Swift

    public var description: String { get }