create

abstract fun create(    title: String,     teamId: String?,     handler: CompletionHandler<Space>)

Creates a space. The authenticated user is automatically added as a member of the space. See the Memberships API to learn how to add more people to the space.

Since

0.1

Parameters

title

A user-friendly name for the space.

teamId

If not null, this space will be associated with the team by team id. Otherwise, this space is not associated with any team.

handler

A closure to be executed once the request has finished.