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
Parameter | Type | Required | Description |
---|---|---|---|
format | string | false |
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