Grant permissions on a dataset (Deprecated)

Grant permissions to a specific dataset for users or teams.

Deprecation notice: Datasets are deprecated. Starting June 2, 2026, you will no longer be able to create datasets or edit existing datasets. 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.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params

The request body.

grants
array of objects
required
grants*
Responses

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json