public function deleteSnapshot($domain)
    {
        $domain = (string)$domain;
        if (!$domain)
            throw new BadMethodCallException('Parameter $domain is missing.');
        try {
            $r = $this->delete('vps/' . $domain . '/snapshot')->send();
        } catch (\Exception $e) {
            throw new VpsException($e->getMessage(), $e->getCode(),$e);
        }
        return $r;
    }