public function changeClientStatus($client, $status, $allAccounts = false, $allVps = false, $reason = "none", $info = "")
    {
        return $this->api->changeClientStatus($this->getClientId($client), $status, $allAccounts, $allVps, $reason, $info);
    }
public function changeClientStatus($client, $status, $allAccounts = false, $allVps = false, $reason = "none", $info = "")
    {
        return $this->api->changeClientStatus($this->getClientId($client), $status, $allAccounts, $allVps, $reason, $info);
    }
public function changeClientStatus ( $ client , $ status , $ allAccounts = false , $ allVps = false , $ reason = "none" , $ info = "" ) { return $ this -> api -> changeClientStatus ( $ this -> getClientId ( $ client ) , $ status , $ allAccounts , $ allVps , $ reason , $ info ) ; }
Change the status of a client profile

@param Client|string|int $client
@param string $status Can be 'pending_phone_confirmation', 'pending_confirmation', 'active', 'suspended' or 'canceled'
@param bool|false $allAccounts Set to true to suspend all accounts as well
@param bool|false $allVps Set to true to suspend all VPS as well
@param string $reason Can be 'none', 'abuse', 'non_payment' or 'fraud'
@param string $info
@return bool
@throws YouHostingException
Change the status of a client profile