Update MQTT broker config
PUT/api/v1/orgs/{orgId}/data-bridges/mqtt-broker-configs/{mqttConfigId}
Update broker endpoint and protocol settings for an existing MQTT broker configuration.
Authentication type and credential secrets are updated only by the credentials endpoint.
Finite values:
mqttProtocolVersion:V310,V311,V500checkConnection:true,false
When checkConnection is true, the updated endpoint and protocol are verified using the stored credentials. The request fails if credentials are missing or the broker cannot be reached.
Defaults:
mqttProtocolVersion:V311checkConnection:falsekeepAliveInterval: omitted storesnull; runtime uses60sreconnectInterval: omitted storesnull; runtime uses5s
Example:
{
"name": "mqtt local updated",
"brokerEndpoint": "localhost:1883",
"keepAliveInterval": "60s",
"reconnectInterval": "5s",
"mqttProtocolVersion": "V311",
"checkConnection": false
}
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
OK
Invalid configuration payload or connection check failed.
Authentication is missing or invalid.
The caller lacks the required role for this operation.
MQTT broker configuration was not found.
Broker configuration name already exists.