Uninstall Cloud Agent
The following are the two methods to uninstall a Cloud Agent:
Uninstallation from Cloud Agent UI or API
Uninstallation from Agent Host itself
Uninstallation from Cloud Agent UI or API
When you uninstall a Cloud Agent from the Cloud Agent user interface or Cloud Agent API, the Cloud Agent and associated license is removed from the Qualys subscription. It also purges the associated agent host record and scans results for any licensed modules, such as Vulnerability Management and Policy Compliance.
Uninstallation from Agent Host itself
When you uninstall a cloud agent from the host itself (using the uninstall utility), the agent record, license usage, and scan results are still present in the Qualys subscription. To remove the agent’s host record, license, and scan results use the Cloud Agent user interface or Cloud Agent API to uninstall the agent.
The following are the commands to uninstall a Cloud Agent:
- Linux RPM-based system:
sudo rpm -e qualys-cloud-agent
- Linux Debian-based system:
sudo dpkg --purge qualys-cloud-agent