update

abstract fun update(membershipId: String, isModerator: Boolean, handler: CompletionHandler<Membership>)

Updates the properties of a membership by membership id.

Since

0.1

Parameters

membershipId

The identifier of the membership. (Derived parameter: Use MembershipClient.list to get the list of members. Then use Membership.id to retrieve the membershipId)

isModerator

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.