v1
latestSwagger 2.02026-07-178567199.3 KBsources
services
Update service configuration
patch/sources/{id}/services/{srv_id}
Path parameters
idstring required
ID of the source
srv_idstring required
ID of a service backend
Request body
Example request
{
"id": "1",
"sourceID": "1",
"url": "http://localhost:8093",
"insecureSkipVerify": false,
"type": "flux",
"metadata": {
"active": true
},
"links": {
"proxy": "/chronograf/v1/sources/1/services/1/proxy",
"self": "/chronograf/v1/sources/1/services/1",
"source": "/chronograf/v1/sources/1"
}
}Response
Service configuration was changed
Example response
{
"id": "1",
"sourceID": "1",
"url": "http://localhost:8093",
"insecureSkipVerify": false,
"type": "flux",
"metadata": {
"active": true
},
"links": {
"proxy": "/chronograf/v1/sources/1/services/1/proxy",
"self": "/chronograf/v1/sources/1/services/1",
"source": "/chronograf/v1/sources/1"
}
}