RUTX50 - Enable/Disable "Airplane Mode" via REST API

Hi All,

We have a RUTX50 device and we would like to operate it via REST API. On the WebUI there is a small SIM Card icon to connect/disconnect the device, similar to the airplane mode on mobile devices. From the API documentation we couldnt figure out how to trigger this via REST API. What we could do is to reset the connection or disable/enable the interface which is not exactly what we do on the WebUI using this SIM Card icon. Could you help us to achieve this?

Thanks
BR,
Viktor

Hi eviktor,

Welcome to Teltonika Networks Community!

This can be done using PUT http://<Device IP>/api/interfaces/config/mob1s1a1 method. Kindly refer to this link. Under Body, paste the following command to disable SIM1 in RUTX50.

{
    "data": {
        "enabled": "0"
    }
}

Let me know if this helps.

Regards,

Hi Janmiguel,

Thanks for the reply. We have already tried this as stated above. We can reset the connection or disable/enable the interface. But that’s not exactly the same what you can do on the UI with the SIM card icon.

Thanks
BR,
Viktor

This topic was automatically closed after 15 days. New replies are no longer allowed.