Skip to content

MngRestartGateway

Stops the current runtime and starts a new child process using the latest configuration. Requires SESSION_ADMIN.

HTTP: POST /gateway/restart

{"command":"MngRestartGateway","id":1}
{"id":1}

The operation returns after the new supervisor has been scheduled; it does not wait for provider readiness. The new runtime receives a new instance_id. Poll MngGetGatewayRuntime to confirm READY.

For a disabled gateway the method only ensures that no runtime remains and does not start a process.