MngSetGatewayEnabled¶
Changes the persistent enabled flag. Enabling starts the gateway; disabling stops it. Requires SESSION_ADMIN.
HTTP: POST /gateway/enabled
{"command":"MngSetGatewayEnabled","id":1,"enabled":false}
{"id":1,"enabled":false}
This differs from MngStopGateway: disabling changes configuration and prevents automatic startup after a server restart. A manual stop leaves the gateway enabled.