update

abstract fun update(teamId: String, newName: String, handler: CompletionHandler<Team>)

Updates the details for a team by id.

Since

0.1

Parameters

teamId

The identifier of the team. (Derived parameter: Use TeamClient.list to get a list of teams. Then use Team.id to retrieve the teamId)

newName

A user-friendly name for the team.

handler

A closure to be executed once the request has finished.