CreateTeamMembershipError

public enum CreateTeamMembershipError : String

Undocumented

  • General Failure

    Declaration

    Swift

    case internalError
  • Invalid Team ID

    Declaration

    Swift

    case invalidTeamId
  • Team matching the Team ID provided was not found

    Declaration

    Swift

    case teamNotFound
  • User is trying to add/remove a participant in a moderated team where they are not a moderator.

    Declaration

    Swift

    case nonModeratorCannotAddToModeratedTeam
  • User does not exist, the user may have been deleted.

    Declaration

    Swift

    case userDoesntExistInOrg
  • You can only contact people from your company

    Declaration

    Swift

    case externalUserNotAllowed
  • They can’t join this space/team because of their company’s policy

    Declaration

    Swift

    case companyPolicyPreventsMembershipCreation
  • It looks like this bot is not allowed by one or more of the participating organizations in this space. Certain bots are blocked to case protect your privacy and content.

    Declaration

    Swift

    case botCannotBeAdded
  • for Direct space: It looks like the bot you are trying to add is not allowed by your organization. Certain bots are blocked to protect your case privacy and content.

    Declaration

    Swift

    case botCannotBeAddedToDirectSpace
  • Guests of a moderated team space cannot add other participants because of the policy of the space owners company

    Declaration

    Swift

    case teamGuestMemberNotEntitled
  • Users that are not part of an Office 365 backed team cannot be added to a subspace of that team

    Declaration

    Swift

    case userNotPartOfTeamOffice365
  • Users that are not part of the same organization as the creator can not be added to an Office 365 backed team

    Declaration

    Swift

    case userNotPartOfOrganizationOffice365
  • Successfully created membership but was unable to set moderator

    Declaration

    Swift

    case failedToSetModerator
  • Operation is disallowed for commercial guest

    Declaration

    Swift

    case failedOperationDisallowedForCommercialGuest