Hi,
I would like to create a MQTT Broker from API but I need to enter also authentication settings which seems are not supported by the API.
I'm using Python SDK with the following payload:
{
"networkId": "L_xxxxxx",
"name": "API",
"host": "mqtt.example.com",
"port": 1883,
"security": {
"mode": "none"
},
"authentication": {
"username": "abcdefgh",
"password": "1234567890"
}
}
The MQTT Broker got created but credentials are not stored. Same happens if I lately update the broker.
The response from the server is
{
"authentication": {
"username": null
},
"host": "mqtt.example.com",
"id": "121212121212121",
"name": "API",
"port": 1883,
"security": {
"mode": "none",
"tls": {
"hasCaCertificate": false,
"verifyHostnames": true
}
}
}