To add a MQTT (that can also be used with tls-ca encryption), use this request body:

{
    "serialNumber": "<serial_number>",
    "groupName": "<your_group_name>",
    "protocol": "MQTT",
    "additionalParams": {
        "userName": "<serial_number>",
        "password": "<your_password>",
        "name": "<your_optional_name_displayed_in_the_portal>",
        "adaptationLayerName": "TMNL_MQTT_AL"
    }
}