---
title: "List grants for a connection path"
method: GET
path: "/v2/connections/paths/{connectionPathId}/grants"
tags: ["Connections"]
---

# List grants for a connection path

`GET /v2/connections/paths/{connectionPathId}/grants`

## Request

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

Get a list of permissions granted to a specific connection path.

  ### 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.

## Path parameters

- `connectionPathId` string, required

## Query parameters

- `page` string
- `limit` number, double

## Response `200`

The response body.

- ConnectionsListConnectionPathGrantsResponse200
  - `entries` V2ConnectionsPathsConnectionPathIdGrantsGetResponsesContentApplicationJsonSchemaEntriesItems[], required
    - `grantId` string, required: The unique identifier of the grant
    - `inodeId` string, required: The unique identifier of the inode
    - `organizationId` string, required: The unique identifier of the organization
    - `memberId` string, nullable, required: The unique identifier of the member
    - `teamId` string, nullable, required: The unique identifier of the team
    - `permission` union, required: The permission granted to the member
      - 'admin' | 'annotate' | 'update' | 'usage' | 'writeback': Valid inode types: table, connection database, and connection schema.
      - 'create' | 'annotate' | 'organize' | 'explore' | 'view' | 'edit' | 'apply': Valid inode types: folder, workspace, workbook, dataset, and data model. Can Contribute permissions are listed as **organize** and Can Manage permissions are listed as **edit**.
      - 'view' | 'edit' | 'apply': Valid inode types: version tag.
    - `createdBy` string, required: The identifier of the user who created this grant
    - `updatedBy` string, required: The identifier of the user or process that last updated this grant
    - `createdAt` string, date-time, required: When the grant was created
    - `updatedAt` string, date-time, required: When the grant was last updated
  - `nextPage` string, nullable, required
  - `hasMore` boolean: **[Deprecated]** Indicates whether more results are available.

---

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