post https://api.sigmacomputing.com/v2/grants
Create a grant or update an existing grant on a document, folder, or workspace to a user or a team by ID.
Usage notes
- Retrieve the memberId by calling the /v2/members endpoint.
- Retrieve the teamId by calling the /v2/teams endpoint.
- Retrieve the inodeId by calling the /v2/files endpoint and using the
id
included in the response. - Optionally specify a tagId to associate the permission with a specific version tag of a workbook, dataset, or database table. Retrieve the tagId by calling the /v2/tags endpoint and using the
versionTagId
included in the response.