hosting_toggleMaintenanceModeV1
Enable or disable maintenance mode for your WordPress site using a boolean flag. Control visitor access during updates or development.
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 |