update

abstract fun update(teamMembershipId: String, isModerator: Boolean, handler: CompletionHandler<TeamMembership>)

Updates the details for a team membership by id.

Since

0.1

Parameters

teamMembershipId

The identifier of the membership. (Derived parameter: Use TeamMembershipClient.list to get the list of team memberships. Then use TeamMembership.id to retrieve the teamMembershipId)

isModerator

If true, make the person a moderator of the team. The default is false.

handler

A closure to be executed once the request has finished.