---
title: "Delete a workspace grant"
method: DELETE
path: "/v2/workspaces/{workspaceId}/grants/{grantId}"
tags: ["Workspaces"]
---

# Delete a workspace grant

`DELETE /v2/workspaces/{workspaceId}/grants/{grantId}`

## Request

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

Delete a specific grant of permissions granted on a workspace to a user or team.

  ### Usage notes
  - Retrieve the **workspaceId** by calling the [/v2/workspaces](https://help.sigmacomputing.com/reference/list-workspaces) endpoint.
  - Retrieve the **grantId** by calling the [/v2/workspaces/{workspaceId}/grants](https://help.sigmacomputing.com/reference/list-workspace-grants) endpoint.

## Path parameters

- `workspaceId` string, required
- `grantId` string, required

## Response `200`

The response body.

- WorkspacesDeleteWorkspaceGrantResponse200

---

[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)
