For each of these example requests, it is assumed that the token is sent in a header, e.g.:
Authorization: Bearer d4f925b0d9a44a85f48038725d33054abddd1b6b
For readability, these examples show the filter parameter unencoded. This should be URL encoded in your requests, so that
userName sw "a" becomes
List the first 100 users in your enterprise, ordered by name
and the next 100…
List users on enterprise boards who aren't in an enterprise team
/scim/v2/users?filter=userType eq "collaborator"
List users called Alice
/scim/v2/users?filter=displayName co "Alice"
See notes regarding handling of names.
List the email addresses of users who have been deactivated from the enterprise
/scim/v2/users?attributes=emails&filter=active eq false
List the users in the Sales and Marketing teams
First get the team IDs:
/scim/v2/groups?attributes=id&filter=meta.trelloType eq "Team" and (name eq "Sales" or name eq "Marketing")
Then use the IDs returned for those teams to get the users:
/scim/v2/users?filter=groups.value eq "59248c4dae276a021cb296d" or groups.value eq "a286075043d42dcdce8d6668"
List users not using a US English locale:
/scim/v2/users?filter=locale ne "en-US"
List all the teams in your enterprise
/scim/v2/groups?filter=meta.trelloType eq "Team"
List all the boards belonging to a team
Group responses for teams include both Boards and Users in the members attribute.
/scim/v2/groups?filter=name eq "Sales"
List all the boards created since January 2017
/scim/v2/groups?filter=meta.trelloType eq "Board" and meta.created gt "2017-01-01"
Deactivating a user from all Trello enterprise teams and boards
See Update a User