create

abstract fun create(    teamId: String,     personId: String?,     personEmail: String?,     isModerator: Boolean,     handler: CompletionHandler<TeamMembership>)

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

Since

0.1

Parameters

teamId

The identifier of the team.

personId

The identifier of the person.

personEmail

The email of the person.

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.