MngStopGateway¶
Requests protocol shutdown, terminates the child process when necessary and removes its runtime context. Requires SESSION_ADMIN.
HTTP: POST /gateway/stop
{"command":"MngStopGateway","id":1}
{"id":1}
The persistent enabled flag is not changed. Consequently, the gateway will start again with the next st-server initialization. Use MngSetGatewayEnabled to prevent automatic startup.
Returns RET_NOT_FOUND when the gateway has no active runtime context.