The UpdateServiceConfig action updates the configuration file for a service. You can also optionally restart the service to make the new configuration active.


Parameter Description Required
ConfigData Data in multipart/form-data format sent as part of the action that contains the new configuration to use.  
ConfigFileName The path to a file name on the target machine that contains the new configuration file to use.  
ControlMethod The control method to use to restart the service.  
OldCheckSum The checksum of the previous version of the configuration file. Yes

The action port of the service whose configuration file you want to update.

RestartService Whether to stop the service before updating the configuration file, and then restart it.  


You must specify one of ConfigData or ConfigFileName.

You can also submit this action from Coordinator by specifying the ControllerUUID parameter. For more information, refer to the Coordinator Reference.