I'm attempting to search for users with a known
login_id using the accounts endpoint:
GET /api/v1/accounts/:account_id/users
Per the API docs I can specify a search_term consisting of "the partial name or full ID of the users to match and return in the results list." (Emphasis mine.) I find that if I use a login_id as the search term, Canvas returns lots of partial matches. For example:
GET /api/v1/accounts/:account_id/users?search_term=jones
Returns:
[{ id: 1, login_id: jones },
{ id: 2, login_id: jonesy },
{ id: 3, login_id: ajones },...]
Is it possible to restrict this search_term to an exact match? And in any case, is there a better way to search for users by login_id?