Disconnecting and revoking scopes

Stay organized with collections Save and categorize content based on your preferences.

It is recommended that your app provide a way to delete the association between your app and a user's account. By adding this capability to your app, you can respond to the event and trigger any appropriate logic such as deleting personal information associated with the account.

The following JavaScript example demonstrates how to revoke a user's scopes programmatically.

var revokeAllScopes = function() {