Toggle maintenance mode
hosting_toggleMaintenanceModeV1Enable or disable maintenance mode for a WordPress installation. Supply the installation ID and username, then set the enabled flag to true or false.
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 |