Managing Teams and Members
Creating, fetching and deleting teams and team members via the API
Adding a member to a team
Follow these steps to find a specific user and team, then add the user to the team:
Get our organisation ID
Follow the steps in finding your organisation ID to retrieve your organisation’s ID.
Find the ID of the team
List the organisations in your team by calling get all teams in an organisation,
then find the team you wish to use and read the id
field.
Find the user
Find the user you wish to add to the team using get users in an organisation.
You can optionally pass the query parameter q
which will filter the results to those whose username or email address
at least partially matches the value.
Add the user to the team
Taking the data captured from the previous steps, call add team member.
Removing a member from a team
A user can be removed from a team by first following the data collection steps described above, then calling delete a team member.