MngUpdateGateway¶
Partially updates an existing gateway configuration. The manager restarts a running gateway so the new configuration is applied. Requires SESSION_ADMIN.
HTTP: PUT /gateway
{
"command":"MngUpdateGateway",
"id":1,
"provider_config":{
"hosts":["fix-1.lp.example:443","fix-2.lp.example:443"],
"credentials":{"sender_comp_id":"BROKER","password":"new-secret"}
},
"heartbeat_timeout_ms":7000
}
The response contains the complete updated gateway object. Only id is required; omitted fields keep their previous values. When supplied, provider_config replaces the complete previous object and causes the gateway instance to restart.
Disabling the gateway stops its runtime. Updating an enabled gateway restarts it asynchronously; check runtime state separately.