Skip to content

Uninstall Guide

Uninstall is not a full purge unless you pass explicit flags. External MongoDB data is never deleted. Docker Engine and the Windows/Linux MongoDB service are never uninstalled.

Windows Native — scripts/windows/service/uninstall.ps1

Always removed Optional Preserved by default
IQVIntegrationAPI service -RemoveLogs — wipe logs\ then recreate empty dir Runtime root, binary, config\.env, logs, backups, metadata
Firewall rule IQV Integration API - TCP <port> -RemoveRuntime — delete C:\IQVizyon\IQVIntegrationAPI MongoDB service and data

There is no “delete everything including MongoDB” mode.

Windows Docker — scripts/windows/docker/uninstall.ps1

Always Optional Never
compose down (containers + network) -RemoveImages — docker rmi images named iqv-integration-api Docker Engine; docker system prune; .env
-RemoveVolumes -Force — named volumes (including bundled Mongo volume if that profile was used) Deployment metadata directory is printed, not deleted by default

Without -Force, -RemoveVolumes aborts.

Linux Native — scripts/linux/service/uninstall.sh / package uninstall.sh

Always Optional Preserved
stop/disable unit; delete /etc/systemd/system/iqv-integration-api.service; daemon-reload --remove-logs /var/lib/iqvizyon/iqv-integration-api/backups
firewall rule (unless --skip-firewall) --remove-runtime / --purge — runtime dir + /etc/iqvizyon/iqv-integration-api.env; user iqvapi if idle MongoDB
staged binary + tmp/ --purge = runtime and logs default env, logs, backups, metadata

Linux Docker — scripts/linux/docker/uninstall.sh

compose down --timeout 30 — no --volumes.

Always --remove-images --purge Never
API container and compose network docker rmi iqv-integration-api images deployed compose file + /etc/iqvizyon/iqv-integration-api.docker.env MongoDB; docker prune; Docker Engine; volumes

Shared rules

  • Normal uninstall removes the managed service or container, not the customer database.
  • Config is preserved unless you opt into runtime/env purge.
  • Logs are removable only with an explicit flag.
  • Docker images are removable only with an explicit flag.
  • Volumes are not removed on Linux Docker uninstall. Windows Docker volumes require -RemoveVolumes -Force.
  • External MongoDB data is not deleted.
  • Docker Engine / MongoDB Windows service / mongod packages are not removed.