Deletion of whole configuration is not allowed

Hello everyone,

I would like to delete the M-Bus and Modbus configuration via API. However, I don’t want to use the IDs for this.

Is it possible to delete the configuration?

I always get the response: “Deletion of whole configuration is not allowed”.

According to the API description, this should work.

Thank you for your support.

Hello,

Apologies for the delayed response.

I would like to clarify that this is expected behavior.
Also, after consulting with our RnD team, they confirmed that while the option to delete all available sections might be considered for future development, there are currently no plans to implement it. Furthermore, a full configuration deletion is unlikely to be introduced, as retrieving the complete configuration is not supported at this time—only specific sections can be accessed.

The only solution we can currently offer is to retrieve the sections and filter out the IDs.

You can delete multiple filtered IDs in a single request using the following command:
api delete /modbus/client/tpc/config '{"data":['1','2','4']}'

Best regards,

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.