Grant permissions on a dataset (Deprecated)

View as Markdown
Grant permissions to a specific dataset for users or teams. **Deprecation notice**: [Datasets](/docs/datasets) are deprecated. As of June 2, 2026, you can no longer create datasets or edit existing datasets. As of September 15, 2026, you can no longer use datasets as a data source. Migrate your datasets to data models and update any documents that use datasets as a data source to use a different source. See [Migrate a dataset to a data model](/docs/migrate-a-dataset-to-a-data-model). ### Usage notes - Retrieve the **datasetId** by calling the [/v2/datasets](https://help.sigmacomputing.com/reference/list-datasets) endpoint. - Grant permissions to one user or team at a time using the relevant IDs: - Retrieve the **memberId** by calling the [/v2/members](https://help.sigmacomputing.com/reference/list-members) endpoint. - Retrieve the **teamId** by calling the [/v2/teams](https://help.sigmacomputing.com/reference/list-teams) endpoint.

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Path parameters

datasetIdstringRequired

Request

The request body.
grantslist of objectsRequired

Response

The response body.