public function delete()
    {
        $this->getContext()->invokeApiPost('DATABASES', [
            'action' => 'accesshosts',
            'delete' => 'yes',
            'db' => $this->database->getDatabaseName(),
            'select0' => $this->getName(),
        ]);
        $this->database->clearCache();
    }