Resetting Node-Rede after Installing Node

Hello everyone. How can I automatically reset the node after installing it with the Node-Red API running on Docker on a local device? I just want to reset node-red without turning off the device. Is there a reset API or another way? Thank you in advance for your interest.

You could restart the node red container.