Update Sensor Flow Feature Config
Update the appliance flow collection feature configuration. This operation can be called to bulk update the sensors to enable or disable flow collection. The operation will either update all or none of the sensors.
Action to enable or disable flow collection. Valid values are 'enable' and 'disable'.
Feature configuration information of the sensor.
Show optional properties
{
"sensor_ids": [
{}
]
}
{
"sensor_ids": [
"string"
]
}
Specifies the sensor ids for which the feaure should be enabled or disabled.
OK
{
"enabled": false,
"successful_sensor_ids": [
"string"
],
"failed_sensor_ids": [
"string"
]
}
Specifies whether this feature is enabled. Default is true.
Specifies the sensor IDs for which the update is successful.
Specifies the sensor IDs for which update feature has failed.
Error
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
This operation contains the following vendor extensions defined in the spec:
platform-sensor-lic
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"sensor_ids":["string"]}' https://{api_host}/sensors/feature-config/flow-events