---
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 :Nodinite: [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 :Nodinite: environment. The complete procedure is in [Uninstall Nodinite v7][Uninstall].

## :fa-trash: 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.

>[!WARNING]
>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 [Log Audits][] or its own app registration, as recommended in [Manage the Web API][].

## :fa-broom: 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][]|

>[!IMPORTANT]
>Complete the [post-uninstall cleanup][Cleanup] before you install again in the same place, or when you decommission :Nodinite:.

## :fa-user-md: Contact Our Support

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

## :fa-hand-point-right: Next Steps

* :fa-trash-can: [Uninstall Nodinite v7][Uninstall]  
* :fa-broom: [After Uninstallation - Optional Cleanup][Cleanup]  
* :fa-file-alt: [Nodinite Release notes][Release Notes]<sup>:fa-arrow-up-right-from-square:</sup>  

## :fa-link-horizontal: Related Topics

* :fa-cloud-sun: [Web API][]  
* :fa-box-full: [Core Services Package][Core Services]  
* :fa-rocket: [Install Web API][Install]  
* :fa-arrow-turn-up: [Update Web API][Update]  
* :fa-clipboard-check: [Prerequisites][]  
* :fa-clipboard-question: [Troubleshooting][]  

[Certificate cleanup]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Uninstall%20Nodinite%20v7.md#certificate-cleanup
[Cleanup]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Uninstall%20Nodinite%20v7.md#fa-broom-after-uninstallation---optional-cleanup
[Core Services]:{ndr}/Core%20Services/Overview.md
[Entra cleanup]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Uninstall%20Nodinite%20v7.md#azure-ad-entra-id-cleanup
[Firewall cleanup]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Uninstall%20Nodinite%20v7.md#firewall-and-network-cleanup
[HTTP SPN for IIS]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/HTTP%20SPN%20for%20IIS.md
[IIS cleanup]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Uninstall%20Nodinite%20v7.md#iis-application-pool-cleanup
[Install]:{ndr}/Core%20Services/Web%20API/Getting%20started/2.%20Install.md
[Log Audits]:{ndr}/Administration/6.%20Tools/2.%20Log%20Audit%20Search.md
[Manage the Web API]:{ndr}/Core%20Services/Web%20API/Features/Managing%20the%20Web%20API.md
[Prerequisites]:{ndr}/Core%20Services/Web%20API/Getting%20started/1.%20Prerequisites.md
[Release Notes]:https://portal.nodinite.com/marketplace/36
[Remove database]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Uninstall%20Nodinite%20v7.md#remove-database-option
[Remove environment]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Uninstall%20Nodinite%20v7.md#remove-complete-environment
[Service accounts]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Uninstall%20Nodinite%20v7.md#windows-service-accounts-and-permissions
[SupportPage]:{ndr}/Getting%20Started/Support.md
[Troubleshooting]:{ndr}/Core%20Services/Web%20API/Troubleshooting/Overview.md
[Uninstall]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Uninstall%20Nodinite%20v7.md
[Uninstall commands]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Uninstall%20Nodinite%20v7.md#fa-trash-uninstall-commands
[Update]:{ndr}/Core%20Services/Web%20API/Updating.md
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md