Update MQTT broker credentials
PATCH/api/v1/orgs/{orgId}/data-bridges/mqtt-broker-configs/{mqttConfigId}/credentials
Rotate stored credentials for an MQTT broker configuration.
Finite values:
authType:UsernamePassword. This field is required and is reserved for future authentication types;UsernamePasswordis currently the only supported value.checkConnection:true,false
Default:
checkConnection:false
Example:
{
"authType": "UsernamePassword",
"brokerCredentials": {
"username": "new-user",
"password": "new-pass"
},
"checkConnection": false
}
Request
Responses
- 204
- 400
- 401
- 403
- 404
No Content
Invalid credential 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.