create

abstract fun create(    spaceId: String,     personId: String?,     personEmail: String?,     isModerator: Boolean = false,     handler: CompletionHandler<Membership>)

Adds a person to a space by person id; optionally making the person a moderator.

Since

0.1

Parameters

spaceId

The identifier of the space where the person is to be added.

personId

The identifier of the person to be added.

personEmail
  • The email address of the person to be added.

isModerator

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

handler

an instance of CompletionHandler