I am working with the Users Search API and want to filter users based on their team ID. In the API response, I receive the following fields
- primaryTeamId: “55685825”
- secondaryTeamIds: [“55681645”]
My goal is to retrieve all users belonging to a specific team ID. How should I structure my query to get all the users associated with a particular team (whether it’s their primary or secondary team)?
Any help or guidance would be greatly appreciated!