lib/GitHub/Receiver/Enterprise/ManagementConsole.php
public function updateMaintenanceStatus(string $maintenance): array
    {
        return $this->getApi()->request(sprintf('/setup/api/maintenance -d maintenance=%s', $maintenance),
            Request::METHOD_POST);
    }
public function updateMaintenanceStatus(string $maintenance): array
    {
        return $this->getApi()->request(sprintf('/setup/api/maintenance -d maintenance=%s', $maintenance),
            Request::METHOD_POST);
    }
public function updateMaintenanceStatus ( string $ maintenance ) : array { return $ this -> getApi ( ) -> request ( sprintf ( '/setup/api/maintenance -d maintenance=%s' , $ maintenance ) , Request :: METHOD_POST ) ; }
Enable or disable maintenance mode

@link https://developer.github.com/v3/enterprise/management_console/#enable-or-disable-maintenance-mode

@param string $maintenance

@return array
Enable or disable maintenance mode