Uninstall my own app with GraphQL API

dcopp
Visitor
3 0 0

Is there an equivalent of the method in this tutorial Uninstall a Shopify app with an API call  for the GraphQL API? 

It seems that storefrontAccessTokenDelete  would be the mutation I want. I've played around in the GraphiQL app and it seems I might not have the permissions to access the list of storefrontAccessTokens for a shop. Can apps still self-uninstall using only the GraphQL API?

Replies 2 (2)

SBD_
Shopify Staff
1829 269 405

Hey @dcopp 

 

I don't believe there's a GraphQL equivalent. storefrontAccessTokenDelete is for deleting Storefront tokens.

Scott | Developer Advocate @ Shopify 

dcopp
Visitor
3 0 0

Thanks for the response.