Legacy teams allow you to form groups of users withing the organization for more efficient management. Previously Legacy Teams were called Teams and occupied the v1/teams*
path. They're being deprecated because we are preparing for an upgraded version of the Teams API, which requires migrating the current functionality to a new path URL v1/legacyTeams*
. The functionality and OAuth scopes of all the Teams API endpoints will remain the same.
Returns data about teams within the company.
20
/v1/legacyTeams
order_by
string
The field name to sort returned teams by
Default
id
Values
id
name
manager_id
active_flag
skip_users
number
When enabled, the teams will not include IDs of member users
Default
0
Values
0
1
OK
Returns data about a specific team.
2
/v1/legacyTeams/{id}
id
integer
required
The ID of the team
skip_users
number
When enabled, the teams will not include IDs of member users
Default
0
Values
0
1
OK
Returns a list of all user IDs within a team.
20
/v1/legacyTeams/{id}/users
id
integer
required
The ID of the team
OK
Returns data about all teams which have the specified user as a member.
20
/v1/legacyTeams/user/{id}
id
integer
required
The ID of the user
order_by
string
The field name to sort returned teams by
Default
id
Values
id
name
manager_id
active_flag
skip_users
number
When enabled, the teams will not include IDs of member users
Default
0
Values
0
1
OK
Adds a new team to the company and returns the created object.
10
/v1/legacyTeams
application/json
name
string
required
The team name
description
string
The team description
manager_id
integer
required
The team manager ID
users
array
The list of user IDs
OK
Adds users to an existing team.
10
/v1/legacyTeams/{id}/users
id
integer
required
The ID of the team
application/json
users
array
required
The list of user IDs
OK
Updates an existing team and returns the updated object.
10
/v1/legacyTeams/{id}
id
integer
required
The ID of the team
application/json
name
string
The team name
description
string
The team description
manager_id
integer
The team manager ID
users
array
The list of user IDs
active_flag
Flag that indicates whether the team is active
Values
0
1
deleted_flag
Flag that indicates whether the team is deleted
Values
0
1
OK
Deletes users from an existing team.
10
/v1/legacyTeams/{id}/users
id
integer
required
The ID of the team
application/json
users
array
required
The list of user IDs
OK