hosting_toggleMaintenanceModeV1
Toggle maintenance mode for a WordPress installation to control public access during maintenance, updates, or repairs.
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 |