update
abstract fun update(membershipId: String, isModerator: Boolean, handler: CompletionHandler<Membership>)
Updates the properties of a membership by membership id.
Since
0.1
Parameters
membership Id
The identifier of the membership. (Derived parameter: Use MembershipClient.list to get the list of members. Then use Membership.id to retrieve the membershipId)
is Moderator
If true, make the person a moderator of the space in this membership. The default is false.
handler
A closure to be executed once the request has finished.