v1

latestOpenAPI 3.0.02026-07-23620132.5 KB
Teams / User team roles

List user roles in the team

Gets list of all users and their roles in the team with the specified teamId. Get all user role IDs with the API call GET /users/roles.

get/teams/{teamId}/user-team-roles

Path parameters

teamIdinteger required

The ID of the team.

Query parameters

cols[]string[]

Specifies columns that are returned in the response. Use the cols[] parameter for every column that you want to return in the response. For example GET /endpoint?cols[]=key1&cols[]=key2 to get both key1 and key2 columns in the response.

Check the "Filtering" section for a full example.

pg[sortBy]string

The value that will be used to sort returned entities by.

pg[offset]integer

The value of entities you want to skip before getting entities you need.

pg[sortDir]'asc' | 'desc'

The sorting order. It accepts the ascending and descending direction specifiers.

pg[limit]integer

Sets the maximum number of results per page in the API call response. For example, pg[limit]=100. The default number varies with different API endpoints.

Response

Successful response