Team member management API endpoints
We've added new API endpoints for managing team members through the API. You can now list, add, view, and remove team members without using the dashboard.
/v1/organizations/{organization}/teams/{team}/members— List all members in a team (GET)/v1/organizations/{organization}/teams/{team}/members— Add a member to a team (POST)/v1/organizations/{organization}/teams/{team}/members/{id}— Get details about a specific team member (GET)/v1/organizations/{organization}/teams/{team}/members/{id}— Remove a member from a team (DELETE)
To use these endpoints with a service token, you'll need the read_organization permission for read operations and write_teams for adding or removing members.