---
title: Uninstall the Nodinite Log API – CLI, Cleanup, and Checks
description: Uninstall the Nodinite v7 Log API together with the Core Services using the CLI. Learn what to check first, which cleanup applies to the Log API, and how to confirm it is removed.
---

# Uninstall Log API

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log API][] is part of the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Core Services][], so it is removed together with them, never on its own. Do this when you start over during an installation or update, or when you decommission an environment. The full procedure is [Uninstall Nodinite v7][UninstallNodiniteV7]; this page lists what matters for the Log API.

## <i class="fal fa-list-check" aria-hidden="true"></i> Before You Uninstall

* Stop or repoint every sender. [Log Agents][], the [Pickup Service][], and your own code that post to the Log API base URL `https://{host}:{port}/LogAPI/` can no longer deliver [Log Events][Log Event]. Log Agents and the Pickup Service keep their events and retry until a Log API is available again.
* Decide whether to keep the databases. The Log API writes to the [Configuration Database][ConfigDB] and the [Log Databases][]; keep them if you plan to reinstall and continue with the same data.

## <i class="fal fa-trash" aria-hidden="true"></i> Remove the Log API

Run the CLI from an elevated PowerShell 7 prompt in the extracted ZIP bundle root, as described in [Uninstall commands][Uninstall Commands]:

* `uninstall` removes the Core Services, including the Log API IIS web site, but not the agents.
* `teardown-environment` removes the agents first and then the Core Services; use it to [remove a complete environment][Remove Complete Environment].
* `--delete-databases` also drops the databases; see [Remove Database Option][]. This deletes all logged data.

## <i class="fal fa-broom" aria-hidden="true"></i> Cleanup That Applies to the Log API

From [After Uninstallation - Optional Cleanup][Cleanup]:

* [IIS Application Pool Cleanup][IIS Cleanup] for the Log API site.
* [Windows Service Accounts and Permissions][Accounts Cleanup] for the Log API service account, including its SQL Server logins.
* [Certificate Cleanup][] and [Firewall and Network Cleanup][Firewall Cleanup] for the Log API port.
* [Azure AD (Entra ID) Cleanup][Entra Cleanup] when the Log API was protected with OAuth 2.0: remove the **logApi** app registration and the logging client registrations from [Protect the Log API with OAuth 2.0 and Entra ID][Protect Log API].

To confirm the removal, check that the Log API web site is gone from IIS Manager and that `https://{host}:{port}/scalar` no longer answers.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-trash-can" aria-hidden="true"></i> [Uninstall Nodinite v7][UninstallNodiniteV7]  
* <i class="fal fa-rocket" aria-hidden="true"></i> [Install Log API][Install]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-cloud-arrow-down" aria-hidden="true"></i> [Log API][]  
* <i class="fal fa-arrow-turn-up" aria-hidden="true"></i> [Update Log API][Update]  
* <i class="fal fa-clipboard-check" aria-hidden="true"></i> [Prerequisites][]  
* <i class="fal fa-clipboard-question" aria-hidden="true"></i> [Troubleshooting][]  
* <i class="fal fa-box-full" aria-hidden="true"></i> [Core Services][]  
* <i class="fal fa-user-md" aria-hidden="true"></i> [Support][SupportPage]  

[Accounts Cleanup]:https://docs.nodinite.com/install-and-update/getting-started/version-7/uninstall-nodinite-v7/#windows-service-accounts-and-permissions
[Certificate Cleanup]:https://docs.nodinite.com/install-and-update/getting-started/version-7/uninstall-nodinite-v7/#certificate-cleanup
[Cleanup]:https://docs.nodinite.com/install-and-update/getting-started/version-7/uninstall-nodinite-v7/#fa-broom-after-uninstallation---optional-cleanup
[ConfigDB]:https://docs.nodinite.com/core-services/configuration-database/overview/
[Core Services]:https://docs.nodinite.com/core-services/overview/
[Entra Cleanup]:https://docs.nodinite.com/install-and-update/getting-started/version-7/uninstall-nodinite-v7/#azure-ad-entra-id-cleanup
[Firewall Cleanup]:https://docs.nodinite.com/install-and-update/getting-started/version-7/uninstall-nodinite-v7/#firewall-and-network-cleanup
[IIS Cleanup]:https://docs.nodinite.com/install-and-update/getting-started/version-7/uninstall-nodinite-v7/#iis-application-pool-cleanup
[Install]:https://docs.nodinite.com/core-services/log-api/getting-started/install/
[Log Agents]:https://docs.nodinite.com/administration/log-management/log-agents/features/what-is-a-log-agent/
[Log API]:https://docs.nodinite.com/core-services/log-api/overview/
[Log Databases]:https://docs.nodinite.com/core-services/log-databases/overview/
[Log Event]:https://docs.nodinite.com/core-services/log-event/overview/
[Pickup Service]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/
[Prerequisites]:https://docs.nodinite.com/core-services/log-api/getting-started/prerequisites/
[Protect Log API]:https://docs.nodinite.com/core-services/log-api/scenarios/protect-the-log-api-with-oauth-2-0-and-entra-id/
[Remove Complete Environment]:https://docs.nodinite.com/install-and-update/getting-started/version-7/uninstall-nodinite-v7/#remove-complete-environment
[Remove Database Option]:https://docs.nodinite.com/install-and-update/getting-started/version-7/uninstall-nodinite-v7/#remove-database-option
[SupportPage]:https://docs.nodinite.com/getting-started/support/
[Troubleshooting]:https://docs.nodinite.com/core-services/log-api/troubleshooting/overview/
[Uninstall Commands]:https://docs.nodinite.com/install-and-update/getting-started/version-7/uninstall-nodinite-v7/#fa-trash-uninstall-commands
[UninstallNodiniteV7]:https://docs.nodinite.com/install-and-update/getting-started/version-7/uninstall-nodinite-v7/
[Update]:https://docs.nodinite.com/core-services/log-api/updating/