hosting_toggleMaintenanceModeV1
Enable or disable maintenance mode on a specified WordPress installation by providing its identifier and the desired enabled state.
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 |