Get Team
Get team details
Path Parameters
companyID companyID required
The id of the company
teamID teamID required
The id of the team
Responses
- 200
- 404
A team object
application/json
Schema
Example (from schema)
Schema
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
{
"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"
]
}
An error when the team is not found
application/json
Schema
Example (from schema)
Schema
message string
Error message
{
"message": "User not found"
}
Loading...