| Name | Type | Description | Notes |
|---|---|---|---|
| domain | string | Domain of the existing website where WordPress will be installed | |
| siteTitle | string | Title of the WordPress site | |
| language | string | WordPress locale. Defaults to en_US when omitted. | |
| type | string | Installation kind; `default` when omitted. `headless` installs WordPress into the `cms` directory with the Hostinger headless MU plugin and marks the website as a headless WordPress website. Accepted only for a website that is already headless, e.g. one created by `POST /api/hosting/v1/orders/{order_id}/onboardings` (`hosting_websites_start-setup`) with `type: headless_empty`; any other website is rejected with 422. | |
| directory | string | Installation subdirectory relative to the document root; omit for the root. Not allowed with `type: headless`, which always installs into `cms`. | |
| overwrite | bool | When false (default), does not replace an existing installation. If WordPress is already installed on the domain/path, the async install job fails unless true. | |
| autoUpdates | string | WordPress core auto-update policy | |
| version | string | WordPress core version to install. If omitted, the latest core version compatible with the account vhost PHP version is selected. | |
| credentials | \Hostinger\Model\WordPressV1InstallationsInstallWordPressRequestCredentials | ||
| database | \Hostinger\Model\WordPressV1InstallationsInstallWordPressRequestDatabase |