Activate Reset MQTT connection with WebAPI

Because of the many problems with MQTT on Nuki PRO 4, currently when I detect from my HA that the setting is no longer reachable, I start a macro on one of my Android devices, which opens the Nuki app and restarts Mqtt.
This operation is time consuming and dangerous, is it possible to enable/disable MQTT via webapi?

Any?

Hi,

Since MQTT is a local integration, it is not possible to operate the state via the Web API, which is used mainly for remote operations.