get https://api.sigmacomputing.com/v2/workspaces//grants
This endpoint retrieves a list of all permission grants associated with a specific workspace, identified by its workspaceId.
Usage notes
- Retrieve the workspaceId by calling the /v2/workspaces endpoint.
- Optionally use the
page
andlimit
parameters to manage the size of the returned data and navigate through large datasets.
Usage scenarios
- Access control management: Useful for administrators to review and manage who has what access to the workspace.
- Audit and compliance: Assists in compliance checks and audits by providing a clear view of the permissions granted to different users and teams.
Best practices
- Use pagination: Especially important for workspaces with a large number of grants to ensure performance and usability.
- Regular review: Regularly review and update the workspace grants to ensure they align with current organizational policies and user roles.