---
title: "Retrieve possible permissions for this data source"
method: GET
path: "/sources/{id}/permissions"
tags: ["sources", "users"]
---

# Retrieve possible permissions for this data source

`GET /sources/{id}/permissions`

## Path parameters

- `id` string, required

## Response `200`

Listing of all possible permissions

- AllPermissions — All possible permissions for this particular datasource. Used as a static list
  - `permissions` InfluxDBPermission[] — Permissions represent the entire set of permissions a InfluxDB User or InfluxDB Role may have
    - `scope` 'all' | 'database', required — Describes if the permission is for all databases or restricted to one database
    - `name` string — If the scope is database this identifies the name of the database
    - `allowed` string[], required — Allowances defines what actions a user can have on a scoped permission
  - `links` object
    - `self` string, uri — Relative link back to the permissions endpoint
    - `source` string, uri — Relative link to host with these permissiosn

## Other responses

- `404` — Data source id does not exist.
- `default` — A processing or an unexpected error.

---

[API](https://skmtc.net/influxdata/apis/chronograf.md) · [All operations](https://skmtc.net/influxdata/apis/chronograf/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/influxdata/chronograf/versions/ce55d963b4ac/schema)
