list

abstract fun list(teamId: String, max: Int, handler: CompletionHandler<List<TeamMembership>>)

Lists all team memberships where the authenticated user belongs.

Since

0.1

Parameters

teamId

Limit results to a specific team, by ID. (Derived parameter: Use TeamClient.list to get a list of teams. Then use Team.id to retrieve the teamId)

max

The maximum number of team memberships in the response.

handler

A closure to be executed once the request has finished.