Disconnect app from user
The following describes how to disconnect an app from an associated Zettle organisation through the OAuth API. This is valuable when a user disconnects outside of Zettle, and you want to remove access to merchant account data, and clean up registered webhooks. The issued access token for the organisation is used in the disconnection request.
- A working authorisation flow set up using either assertion grant, code grant, or code grant with PKCE.
The following request deletes app connections associated with user data access granted by an access token.
Example: Deleting app connections associated with the access token
eyJraWQiOiIxN...R5Y6FDNTva7esJ5Q
.Request
Response