TeamClient
public class TeamClient
An iOS client wrapper of the Cisco Webex Teams REST API .
Since
1.2.0-
Enum for errors that can occur when archiving a team
See moreDeclaration
Swift
public enum TeamArchiveError : String
-
Enum for errors that can occur when updating a Team
See moreDeclaration
Swift
public enum TeamUpdateError : String
-
Lists teams to which the authenticated user belongs.
Since
1.2.0Declaration
Parameters
max
The maximum number of teams in the response.
queue
The queue on which the completion handler is dispatched.
completionHandler
A closure to be executed once the request has finished.
Return Value
Void
-
Creates a team. The authenticated user is automatically added as a member of the team. See the Team Memberships API to learn how to add more people to the team.
Since
1.2.0See
see TeamMembershipClient APIDeclaration
Parameters
title
A user-friendly name for the team.
queue
The queue on which the completion handler is dispatched.
completionHandler
A closure to be executed once the request has finished.
Return Value
Void
-
Retrieves the details for a team by id.
Since
1.2.0Declaration
Parameters
teamId
The identifier of the team.
queue
The queue on which the completion handler is dispatched.
completionHandler
A closure to be executed once the request has finished.
Return Value
Void
-
Updates the details for a team by id.
Since
1.2.0Declaration
Parameters
teamId
The team id.
name
A user-friendly name for the team.
queue
The queue on which the completion handler is dispatched.
completionHandler
A closure to be executed once the request has finished.
Return Value
Void
-
Deletes a team by id.
Since
1.2.0Declaration
Swift
public func delete(teamId: String, queue: DispatchQueue? = nil, completionHandler: @escaping (Result<Void>) -> Void)
Parameters
teamId
The team id.
queue
The queue on which the completion handler is dispatched.
completionHandler
A closure to be executed once the request has finished.
Return Value
Void