Add Shutdown to REST API commands

Can’t you use websocket API for the shutdown?