---
title: "Delete a grant for a connection path"
method: DELETE
path: "/v2/connections/paths/{connectionPathId}/grants/{grantId}"
tags: ["Connections"]
---

# Delete a grant for a connection path

`DELETE /v2/connections/paths/{connectionPathId}/grants/{grantId}`

## Request

- Base URL: `https://api.sigmacomputing.com`
- URL: `https://api.sigmacomputing.com/v2/connections/paths/{connectionPathId}/grants/{grantId}`
- Auth: HTTP bearer

Delete a specific permission granted to a specific connection path for a user or team.

  ### Usage notes
  - Retrieve the **connectionPathId** by calling the [/v2/connection/{connectionId}/lookup](https://help.sigmacomputing.com/reference/lookup-connection) endpoint and using the `inodeId` included in the response, or by calling the [/v2/connections/paths](https://help.sigmacomputing.com/reference/list-connection-paths) endpoint and using the `urlId` included in the response.
  - Retrieve the **grantId** by calling the [/v2/connections/paths/{connectionPathId}/grants](https://help.sigmacomputing.com/reference/list-connection-path-grants) endpoint.

## Path parameters

- `connectionPathId` string, required
- `grantId` string, required

## Response `200`

The response body.

- ConnectionsDeleteConnectionPathGrantResponse200

---

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