Search user by search_term issue

Jump to solution
lang1
Community Member

Whenever I turned on the Enforce Scopes of a Dev key, I'm unable to use the function to search user by search_term. I even enabled all scopes and still get error "Insufficient scopes on access token"

/api/v1/accounts/self/users?search_term=:search_key&include[]=email


Am I missing something here?

Thanks.

Labels (2)
0 Likes
1 Solution
chriscas
Community Coach
Community Coach

Hi @lang1,

You don't appear to have the scope for the exact API call you're performing enabled.  You need "
url:GET|/api/v1/accounts/:account_id/users" to be enabled under the users area.

Hope that fixes up the issue!

-Chris

View solution in original post

0 Likes