Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Uninstall my own app with GraphQL API

Uninstall my own app with GraphQL API

dcopp
Visitor
3 0 2

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 3 (3)

SBD_
Shopify Staff
1831 273 423

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 2

Thanks for the response.

den232
Shopify Partner
227 8 57

Any update now in 2024?  The rest API is going away!  Thx jb