search user scope / org boundary
Hello Team,
Is there a way to limit scope of search to users of organization?
https://docs.kinde.com/api/v1/search/users
Regards!
2 Replies
Hi, Thanks for reaching out,
Regarding the Scopes, Yes you can scope user search to a single organization. Recommended: use an org-scoped M2M token when calling the same search endpoint. Tokens from an org-scoped M2M app are restricted to that org, so
If you only have a global M2M token: call search and filter results to users whose
Let me know if this helps, Thanks
Regarding the Scopes, Yes you can scope user search to a single organization. Recommended: use an org-scoped M2M token when calling the same search endpoint. Tokens from an org-scoped M2M app are restricted to that org, so
/api/v1/search/users only returns that org’s users
If you only have a global M2M token: call search and filter results to users whose
organizations array contains your org_code.
Let me know if this helps, Thanks
thx