Toggle maintenance mode
hosting_toggleMaintenanceModeV1Enable or disable maintenance mode for a WordPress installation by providing the installation ID and the enabled flag. Control site accessibility during updates or maintenance.
Instructions
Enable or disable maintenance mode for the specified WordPress installation,
based on the enabled flag.
Provide the WordPress installation (software) identifier in the path. It can
be obtained from GET /api/hosting/v1/wordpress/installations (the id field).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | Enable (true) or disable (false) maintenance mode for the WordPress installation. | |
| software | Yes | WordPress installation (software) identifier | |
| username | Yes | username parameter |