---
title: "Delete a dataset permission (Deprecated)"
method: DELETE
path: "/v2/datasets/{datasetId}/grants/{grantId}"
tags: ["Datasets"]
---

# Delete a dataset permission (Deprecated)

`DELETE /v2/datasets/{datasetId}/grants/{grantId}`

## Request

- Base URL: `https://api.sigmacomputing.com`
- URL: `https://api.sigmacomputing.com/v2/datasets/{datasetId}/grants/{grantId}`
- Auth: HTTP bearer

Delete a permission granted on a specific dataset by grantId.

  **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.
  - Retrieve the **grantId** by calling the [/v2/datasets/{datasetId}/grants](https://help.sigmacomputing.com/reference/list-dataset-grants) endpoint.

## Path parameters

- `datasetId` string, required
- `grantId` string, required

## Response `200`

The response body.

- DatasetsDeleteDatasetGrantResponse200

---

[API](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api.md) - [All operations](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/revisions/fb6036208c49?raw)
