get https://api.sigmacomputing.com/v2/grants
List all grants for a given object.
Usage notes
You can specify one of the following:
- A user by userId. Retrieve the userId by calling the /v2/members endpoint and using the
memberIdincluded in the response. - A team by teamId. Retrieve the teamId by calling the /v2/teams endpoint.
- A document (such as a workbook, data model, or dataset), folder, or workspace by inodeId.
- Retrieve the inodeId by calling the /v2/files endpoint and using the
idincluded in the response. - Retrieve the inodeId for a data model by calling the /v2/dataModels endpoint and using the
dataModelIdincluded in the response.
- Retrieve the inodeId by calling the /v2/files endpoint and using the
Usage scenarios
- Manage inherited permissions: Identify files and folders that have permissions directly granted to them.
- Review long-lived permissions: Audit permissions granted more than a year ago and determine if they are still needed.
