delete https://api.sigmacomputing.com/v2/grants/
Delete a grant by grant ID.
Usage notes
Depending on the grant object that you want to delete, you can retrieve the grantId in different ways:
- For most documents, you can retrieve the grantId by calling the /v2/grants endpoint with the inodeId for the document. For example, use the workbookId as the inodeId.
- For a dataset, you can also retrieve the grantId by calling the /v2/datasets/{datasetId}/grants endpoint.
- For a connection path, you can retrieve the grantId by calling the /v2/connections/paths/{connectionPathId}/grants endpoint.
Usage scenarios
- Principle of least privilege: Revoke unnecessary privileges on a document by removing the grant.