Team Membership Client
interface TeamMembershipClient
Client wrapper for TeamMembership of a Team membership related APIs
Since
0.1
Functions
Link copied to clipboard
abstract fun create(teamId: String, personId: String?, personEmail: String?, isModerator: Boolean, handler: CompletionHandler<TeamMembership>)
Adds a person to a team by person id; optionally making the person a moderator of the team.
Link copied to clipboard
Deletes a membership by id.
Link copied to clipboard
Fetches the team membership details based on the team membership id
Link copied to clipboard
Lists all team memberships where the authenticated user belongs.
Link copied to clipboard
abstract fun update(teamMembershipId: String, isModerator: Boolean, handler: CompletionHandler<TeamMembership>)
Updates the details for a team membership by id.