WordPress: Maintenance
Toggle maintenance mode
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).
patch/api/hosting/v1/accounts/{username}/wordpress/{software}/maintenance/toggle
Path parameters
usernamestring required
Example:u123456789
softwarestring required
Example:1232456789
WordPress installation (software) identifier
Request body
Example request
{
"enabled": true
}Response
Success empty response
Example response
{
"message": "Request accepted"
}