Best Practices for Accessing User Data in FusionAuth Cloud
-
Our data engineers need to access FusionAuth user data daily and we are hosting in FusionAuth Cloud. They require information about users, entities, entity grants, and the applications users are registered with. What is the recommended way to retrieve this data?
-
You can retrieve this data using FusionAuth's API, which provides specific endpoints for users, entities, and entity grants. The users object includes a registrations section that lists the applications each user is registered with. Here are the relevant API endpoints and documentation:
- Users: Search for Users
- Entities: Search for Entities
- Entity Grants: Search for Grants
Steps to Retrieve Data:
- To fetch all users, entities, or grants, perform a search query with a queryString parameter set to *.
- Use pagination as described in the API documentation to handle large datasets efficiently.
This approach allows you to systematically acquire the information your data engineers need on a daily basis.
-