Open topic with navigation

# UpdateServiceConfig

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

## Required Parameters

The following action parameters are required.

Parameter | Description
--- | ---
OldCheckSum | The checksum of the previous version of the configuration file.
Port | The action port of the service whose configuration file you want to update.

## Optional Parameters

This action accepts the following optional parameters.

Parameter | Description
--- | ---
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.
RestartService | Whether to stop the service before updating the configuration file, and then restart it.

## Comments

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.

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm