Uninstall a Shopify app with an API call
You might be required to remove old app installations from a system. If user intervention isn't required to remove the app, then you can send a request to the Shopify API to remove an app from a store.
This guide is for developers who want to uninstall their app from a store through the API. If you're an app user trying to uninstall an app from your store, refer to the merchant help documentation instead.
How it worksAnchor link to section titled "How it works"
Uninstalling an app triggers cleanup tasks in Shopify. This includes deleting any registered webhooks, script tags, and Shopify admin links. If an app is uninstalled during key rotation, then both the old and new access tokens will become unusable.
The following examples show how to uninstall a Shopify app from a store using an API call: