List Teams
List all teams of the company
Path Parameters
companyID companyID required
The id of the company
Query Parameters
nextToken nextToken
Token to use for pagination
Responses
- 200
List of teams of the company
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
items object[]
List of teams
id string
Unique ID of the the team
name string
Name of the team
createdAt date-time
Date the team was created
updatedAt date-time
Date the team was last updated
type string
Type of the team
children string[]
List of children teams
parents string[]
List of parent teams
managers string[]
List of managers of the team
users string[]
List of users in the team
nextToken string nullable
Next token to use for pagination
{
"items": [
{
"id": "2e8f9915-fda0-450c-95a3-d61f93c66fa9",
"name": "Engineering",
"createdAt": "2021-01-01T00:00:00.000Z",
"updatedAt": "2021-01-01T00:00:00.000Z",
"type": "department",
"children": [
"2e8f9915-fda0-450c-95a3-d61f93c66fa9"
],
"parents": [
"2e8f9915-fda0-450c-95a3-d61f93c66fa9"
],
"managers": [
"2e8f9915-fda0-450c-95a3-d61f93c66fa9"
],
"users": [
"2e8f9915-fda0-450c-95a3-d61f93c66fa9"
]
}
],
"nextToken": "2e8f9915-fda0-450c-95a3-d61f93c66fa9"
}
Loading...