sources
users
roles
Update role configuration
patch/sources/{id}/roles/{role_id}
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/{role_id}
- Authnone declared
Path parameters
idstring required
ID of the data source
role_idstring required
ID of the specific role
Request body
Example request
{
"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"
}
}Response
Roles's configuration was changed
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.