DBTEAMMembersSuspendErrorTag
Objective-C
enum DBTEAMMembersSuspendErrorTag : NSInteger {}
Swift
@frozen enum DBTEAMMembersSuspendErrorTag : Int, @unchecked Sendable
The DBTEAMMembersSuspendErrorTag
enum type represents the possible tag
states with which the DBTEAMMembersSuspendError
union can exist.
-
No matching user found. The provided team_member_id, email, or external_id does not exist on this team.
Declaration
Objective-C
DBTEAMMembersSuspendErrorUserNotFound
Swift
case userNotFound = 0
-
The user is not a member of the team.
Declaration
Objective-C
DBTEAMMembersSuspendErrorUserNotInTeam
Swift
case userNotInTeam = 1
-
(no description).
Declaration
Objective-C
DBTEAMMembersSuspendErrorOther
Swift
case other = 2
-
The user is not active, so it cannot be suspended.
Declaration
Objective-C
DBTEAMMembersSuspendErrorSuspendInactiveUser
Swift
case suspendInactiveUser = 3
-
The user is the last admin of the team, so it cannot be suspended.
Declaration
Objective-C
DBTEAMMembersSuspendErrorSuspendLastAdmin
Swift
case suspendLastAdmin = 4
-
Team is full. The organization has no available licenses.
Declaration
Objective-C
DBTEAMMembersSuspendErrorTeamLicenseLimit
Swift
case teamLicenseLimit = 5