sources
users
roles

Retrieve all data sources roles. Available only in Influx Enterprise

get/sources/{id}/roles

Request

  • Base URL
    /chronograf/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /chronograf/v1/sources/{id}/roles
  • Auth
    none declared

Path parameters

idstring required

ID of the data source

Response

Listing of all roles

namestring required

Unique name of the role

Example response

[
  {
    "users": [
      {
        "name": "admin",
        "links": {
          "self": "/chronograf/v1/sources/3/users/admin"
        }
      }
    ],
    "name": "timetravelers",
    "permissions": [
      {
        "scope": "database",
        "name": "telegraf",
        "allowed": [
          "ReadData",
          "WriteData"
        ]
      }
    ],
    "links": {
      "self": "/chronograf/v1/sources/3/roles/timetravelers"
    }
  }
]

Changes

No recorded changes to this operation across all 71 revisions of this API.