# Update WordPress site automatic update settings This function configures a WordPress cPAddon instance's automatic updates settings. If you enable automatic updates for a legacy WordPress cPAddon instance, the function will convert it to use the RPM-based WordPress cPAddon. This function changes the instance's automatic update setting in the file. Before you run this function, you should verify that a filter does exist for the automatic update settings. Use the function and view the return to determine if a filter exists. You install the WordPress Manager cPanel plugin to access this API function. Endpoint: GET /WordPressInstanceManager/configure_autoupdate Version: 11.134.0.5 Security: BasicAuth ## Query parameters: - `autoupdate.core.major` (integer, required) Whether to enable automatic updates for major releases. * - Enable. * - Disable. Enum: 0, 1 - `autoupdate.core.minor` (integer, required) Whether to enable automatic updates for minor releases. * - Enable. * - Disable. Enum: 0, 1 - `id` (string, required) The cPAddon instance's unique ID. You can retrieve an instance ID with the function. Example: "cPanel__Blogs__WordPressX.0.1491917088" ## Response 200 fields (application/json): - `apiversion` (integer) The version of the API. Example: 3 - `func` (string) The name of the method called. Example: "configure_autoupdate" - `module` (string) The name of the module called. Example: "WordPressInstanceManager" - `result` (object) - `result.data` (object) - `result.data.after` (object) An object that contains the instance's information after conversion. - `result.data.after.addon_config` (string) The WordPress instance's configuration file location. Example: "/home/example/.cpaddons/cPanel::Blogs::WordPressX.0.yaml" - `result.data.after.addon_name` (string) The converted instance's cPAddon name. is the only possible value. Enum: "cPanel::Blogs::WordPressX" - `result.data.after.addon_type` (string) The converted instance's cPAddon type. is the only possible value. Enum: "modern" - `result.data.after.admin_url` (string) The converted instance's administrator login URL. Example: "example.com/wordpress-41/wp-login.php" - `result.data.after.admin_username` (string) The instance's administrator username. Example: "wpadmin" - `result.data.after.available_version` (string) The latest WordPress version. Example: "4.9.1" - `result.data.after.current_version` (string) The WordPress instance's installed version. Example: "4.9.1" - `result.data.after.db_name` (string) The converted instance's database name. Example: "example_wp1" - `result.data.after.db_prefix` (string) The converted instance's database prefix. Example: "example" - `result.data.after.db_server` (string) The converted instance's database server network path. Example: "localhost" - `result.data.after.db_type` (string) The converted instance's database type. Example: "mysql" - `result.data.after.db_username` (string) The converted instance's database username. Example: "example_wp1" - `result.data.after.domain` (string) The converted instance's domain name. Example: "example.com" - `result.data.after.full_path` (string) The instance's full installation path. Example: "/home/example/public_html/wordpress-41" - `result.data.after.homedir` (string) The cPanel account's home directory. Example: "/home/example" - `result.data.after.id` (string) The converted instance's unique ID. Example: "cPanel__Blogs__WordPress.1.1509732223" - `result.data.after.initial_install_version` (string) The instance's original installation version. Example: "4.1" - `result.data.after.migrated_from` (string) The instance's original installation cPAddon name. Example: "cPanel::Blogs::WordPress" - `result.data.after.migrated_on` (integer) The time the system converted the instance. Example: 1513965986 - `result.data.after.rel_path` (string) The relative file path to the converted instance's document root. Example: "wordpress-41" - `result.data.after.site_url` (string) The converted instance's URL. Example: "example.com/wordpress-41" - `result.data.before` (object) A object that contains the instance's information before conversion. - `result.data.before.addon_name` (string) The instance's cPAddon name. Example: "cPanel::Blogs::WordPress" - `result.data.before.addon_type` (string) The instance's cPAddon type. is this only possible value. Enum: "legacy" - `result.data.before.admin_url` (string) The instance's administrator login URL. Example: "example.com/wordpress-41/wp-login.php" - `result.data.before.db_name` (string) The instance's database name. Example: "example_wp1" - `result.data.before.db_prefix` (string) The instance's database prefix. Example: "example" - `result.data.before.db_server` (string) The instance's database server network path. Example: "localhost" - `result.data.before.db_type` (string) The instance's database type. Example: "mysql" - `result.data.before.db_username` (string) The instance's database username. Example: "example_wp1" - `result.data.before.domain` (string) The instance's domain name. Example: "example.com" - `result.data.before.id` (string) The instance's unique ID. Example: "cPanel__Blogs__WordPress.1.1509732223" - `result.data.before.rel_path` (string) The relative file path to the instance's document root. Example: "wordpress-41" - `result.data.before.site_url` (string) The instance's URL. Example: "example.com/wordpress-41" - `result.errors` (array,null) List of errors if the API failed. - `result.messages` (array,null) List of messages generated by the API. - `result.metadata` (object) - `result.status` (integer) - 1 - Success - 0 - Failed: Check the errors field for more details. Enum: 0, 1 - `result.warnings` (array,null) List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.