How to get admins?
How to identify a user/member is an admin using the api?
Hi @cchown,
you can query all admins by appending the privileges
query parameter:
GET https://fabman.io/api/v1/members?privileges=admin
// and
GET https://fabman.io/api/v1/members?privileges=owner
If you want to fetch all members and see who has admin privileges, you can use the embed
query parameter:
GET https://fabman.io/api/v1/members?embed=privileges
I hope that helps.