List all the teams a user is a member of.

This method returns a JSON array that contains all of the teams that a user is a member of with the specified format (default is list).

Request

GET http://{hostname}:{port}
  /teams/teamsForUser?{parameters}
Accept: application/json
Table 1. Request parameters
Parameter Type Required Description
format string false
Table 2. Header parameters
Parameter Type Required Description
Accept application/json true
For the format parameter, use one of the following format options:
list
Primary properties, user role, and group role
detail
Identical to 'list' format
name
Name and ID only
For details about the full JSON that the server returns when you select one of these formats, see the related resource: teams resource.