create
abstract fun create( teamId: String, personId: String?, personEmail: String?, isModerator: Boolean, handler: CompletionHandler<TeamMembership>)
Content copied to clipboard
Adds a person to a team by person id; optionally making the person a moderator of the team.
Since
0.1
Parameters
team Id
The identifier of the team.
person Id
The identifier of the person.
person Email
The email of the person.
is Moderator
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.