List Account Teams
GET {{baseUrl}}/iq/teams?parent_team_id=<string>&team_name=<string>&page_size=30&next_page_token=<string>
List account teams. Filter by parent team ID or team name.
Scopes: iq_team:read:admin
,iq_team:read
Rate Limit Label: MEDIUM
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
parent_team_id | string | parent team id | |
team_name | string | the name of team | |
page_size | number | The number of records returned in a single API call. | |
next_page_token | string | The next page token is used to paginate through large result sets. A next page token will be returned whenever the set of the available result list exceeds the page size. The expiration period is 15 minutes. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"teams":[{"name":"\u003cstring\u003e","team_id":"\u003cstring\u003e","description":"\u003cstring\u003e","type":"flat team","member_size":"\u003cinteger\u003e","supervisor_size":"\u003cinteger\u003e","leaf":"\u003cboolean\u003e","parent_teams":[{"team_id":"\u003cstring\u003e","name":"\u003cstring\u003e"},{"team_id":"\u003cstring\u003e","name":"\u003cstring\u003e"}]},{"name":"\u003cstring\u003e","team_id":"\u003cstring\u003e","description":"\u003cstring\u003e","type":"hierarchical team","member_size":"\u003cinteger\u003e","supervisor_size":"\u003cinteger\u003e","leaf":"\u003cboolean\u003e","parent_teams":[{"team_id":"\u003cstring\u003e","name":"\u003cstring\u003e"},{"team_id":"\u003cstring\u003e","name":"\u003cstring\u003e"}]}],"next_page_token":"\u003cstring\u003e","page_size":"\u003cinteger\u003e"}