ConnectPort X4 - How to access Python autostart using RCI command?

Urgently seeking an answer:
ConnectPort X4 Python/autostart sometimes has corrupt data. How can I issue a RCI command to clear the fields (except the main.py)?

Using web interface you can do this and it is the easy way of doing.
Do you want to remove all the python files under python folder or do you want to remove the autostart setting of the device?
From Device cloud also you can change the settings of the Autostart of the device.
Login to Device Cloud–>click on the device–>select Properties–>select Python.

Hope this helps.