How to delete webhook subscriptions for customers that uninstalled app years ago

I have some stores that installed my app a few years back, and have since uninstalled it (some as far back as 2021). But I just noticed that a few of these customers are still sending me inventory update webhook events. Whoops!

I no longer have an access token for these customers, so I’m unsure how to go about removing the webhook subscription for them that is still in place.

Any ideas?

I should mention too that these event deliveries are sent via Amazon EventBridge. If they were delivered via http I think I could just return an error message from the handler for the shops in question and shopify would eventually remove the webhook, but to my knowledge there’s no way to “break the circuit” for messages delivered via eventbridge/pubsub.

Hi Skush

Since you no longer have access tokens for these stores, you may need to reach out to Shopify Support for assistance in removing these subscriptions, as you won’t be able to use the webhookSubscriptionDelete mutation without an access token.

Okay - I’ll need to spend some time gathering the list of accounts and will open a ticket. Thanks!