These docs are for AuthRocket 1. Looking for AuthRocket 2 docs?

Querying Orgs

Q: Is it possible to query and return a group of users by Org?


A: Yes it is possible, by querying the Org’s memberships:

GET /v1/memberships?org_id=org_0v9eaQyzKUMdEGRv60MQ43

When querying on an org_id, it will include the User attributes (and vice versa, when querying on a user_id, it returns the Org attributes).

See: List Memberships for a User or an Org. The example response there shows the user_id/Org attributes version of the query, but org_id/User attributes works the same way.

Tagged with: querying orgs memberships

Questions? Find a Typo? Get in touch.