---
title: How to Uninstall the Nodinite Web API | Core Services Troubleshooting Guide
description: "Uninstall the Nodinite v7 Web API together with the other Core Services, and clean up what the Web API leaves behind: IIS site, certificate, firewall rule, service account, and the OAuth app registration."
---

# Uninstall Web API

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Web API][] ships with the [Core Services][] package, so it is uninstalled together with the other Core Services. You uninstall when you need to start over during an install or update, or when you decommission a <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> environment. The complete procedure is in [Uninstall Nodinite v7][Uninstall].

## <i class="fal fa-trash" aria-hidden="true"></i> How to Uninstall

Run the CLI `uninstall` command from an elevated PowerShell 7 prompt in the extracted ZIP bundle root; see [Uninstall commands][Uninstall commands]. It removes the Core Services, including the Web API, but not the agents. Use the [Remove Database option][Remove database] only when you also want to delete the databases, or [Remove complete environment][Remove environment] to tear everything down. During a teardown, agents are deregistered through the Web API, so remove agents before the Core Services, as `teardown-environment` does.

<aside aria-label="Warning" class="nodinite-note nodinite-note--warning">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-triangle-exclamation"></i> Warning</p>
<div class="nodinite-note__content"><p>Scripts, pipelines, and reports that call the Web API stop working once it is removed. Find and disable them first; each calling system should have its own identity in <a href="https://docs.nodinite.com/administration/tools/log-audit-search/">Log Audits</a> or its own app registration, as recommended in <a href="https://docs.nodinite.com/core-services/web-api/features/managing-the-web-api/">Manage the Web API</a>.</p></div>
</aside>

## <i class="fal fa-broom" aria-hidden="true"></i> Cleanup for the Web API

After uninstalling, check what the Web API may leave behind:

|Item|What to check|Guidance|
|---|---|---|
|IIS web site and application pool|The Web API site, its application pool, and its HTTP/HTTPS bindings are gone|[IIS Application Pool Cleanup][IIS cleanup]|
|TLS certificate|Remove the certificate if no other site uses it|[Certificate Cleanup][Certificate cleanup]|
|Firewall rules|Remove the inbound rule for the Web API port|[Firewall and Network Cleanup][Firewall cleanup]|
|Service accounts|Remove the Web API identity if nothing else uses it|[Windows Service Accounts and Permissions][Service accounts]|
|OAuth 2.0 app registrations|Remove the Web API app registration and the client app registrations of your scripts in Microsoft Entra ID when decommissioning|[Azure AD (Entra ID) Cleanup][Entra cleanup]|
|HTTP SPNs|Remove HTTP SPNs registered for the Web API hostname when decommissioning|[HTTP SPN for IIS][]|

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p>Complete the <a href="https://docs.nodinite.com/install-and-update/getting-started/version-7/uninstall-nodinite-v7/#fa-broom-after-uninstallation---optional-cleanup">post-uninstall cleanup</a> before you install again in the same place, or when you decommission <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>.</p></div>
</aside>

## <i class="fal fa-user-md" aria-hidden="true"></i> Contact Our Support

If you have questions or problems uninstalling the [Web API][], see the [Support page][SupportPage].

## <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][Uninstall]  
* <i class="fal fa-broom" aria-hidden="true"></i> [After Uninstallation - Optional Cleanup][Cleanup]  
* <i class="fal fa-file-alt" aria-hidden="true"></i> [Nodinite Release notes][Release Notes]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>  

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

* <i class="fal fa-cloud-sun" aria-hidden="true"></i> [Web API][]  
* <i class="fal fa-box-full" aria-hidden="true"></i> [Core Services Package][Core Services]  
* <i class="fal fa-rocket" aria-hidden="true"></i> [Install Web API][Install]  
* <i class="fal fa-arrow-turn-up" aria-hidden="true"></i> [Update Web API][Update]  
* <i class="fal fa-clipboard-check" aria-hidden="true"></i> [Prerequisites][]  
* <i class="fal fa-clipboard-question" aria-hidden="true"></i> [Troubleshooting][]  

[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
[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
[HTTP SPN for IIS]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/http-spn-for-iis/
[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/web-api/getting-started/install/
[Log Audits]:https://docs.nodinite.com/administration/tools/log-audit-search/
[Manage the Web API]:https://docs.nodinite.com/core-services/web-api/features/managing-the-web-api/
[Prerequisites]:https://docs.nodinite.com/core-services/web-api/getting-started/prerequisites/
[Release Notes]:https://portal.nodinite.com/marketplace/36
[Remove database]:https://docs.nodinite.com/install-and-update/getting-started/version-7/uninstall-nodinite-v7/#remove-database-option
[Remove environment]:https://docs.nodinite.com/install-and-update/getting-started/version-7/uninstall-nodinite-v7/#remove-complete-environment
[Service accounts]:https://docs.nodinite.com/install-and-update/getting-started/version-7/uninstall-nodinite-v7/#windows-service-accounts-and-permissions
[SupportPage]:https://docs.nodinite.com/getting-started/support/
[Troubleshooting]:https://docs.nodinite.com/core-services/web-api/troubleshooting/overview/
[Uninstall]:https://docs.nodinite.com/install-and-update/getting-started/version-7/uninstall-nodinite-v7/
[Uninstall commands]:https://docs.nodinite.com/install-and-update/getting-started/version-7/uninstall-nodinite-v7/#fa-trash-uninstall-commands
[Update]:https://docs.nodinite.com/core-services/web-api/updating/
[Web API]:https://docs.nodinite.com/core-services/web-api/overview/