MembersSetPermissions2Error
public enum MembersSetPermissions2Error : CustomStringConvertible, JSONRepresentable
The MembersSetPermissions2Error 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. This can happen if the team member is suspended.
Declaration
Swift
case cannotSetPermissions -
No matching role found. At least one of the provided new_roles does not exist on this team.
Declaration
Swift
case roleNotFound -
An unspecified error.
Declaration
Swift
case other -
Declaration
Swift
public var description: String { get }
View on GitHub
MembersSetPermissions2Error Enumeration Reference