Remove Exim configuration files after failed update

This function removes in-progress Exim configuration files after a failed update to Exim. When cPanel & WHM attempts to update an Exim configuration, the system creates dry run files to replace of the ordinary configuration files.

Note:

  • If the update fails, the system leaves these dry run files in place.
  • When the user accesses the Advanced Editor section of WHM's Exim Configuration Manager interface (Home >> Service Configuration >> Exim Configuration Manager), they access these dry run files instead of the actual configuration files.
SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
get/remove_in_progress_exim_config_edit
Request samples
whmapi1 --output=jsonpretty \
  remove_in_progress_exim_config_edit
Response samples
application/json
{
  • "metadata": {
    • "command": "remove_in_progress_exim_config_edit",
    • "reason": "Removed OK",
    • "result": 1,
    • "version": 1
    }
}