Skip to navigation

Grant permissions on a dataset (Deprecated)

View as Markdown

Grant permissions to a specific dataset for users or teams.

Deprecation notice: 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.

Usage notes

  • Retrieve the datasetId by calling the /v2/datasets endpoint.

  • Grant permissions to one user or team at a time using the relevant IDs:

    • Retrieve the memberId by calling the /v2/members endpoint.
    • Retrieve the teamId by calling the /v2/teams endpoint.

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Path parameters

datasetIdstringRequired

Request

The request body.
grantslist of objectsRequired

Response

The response body.