מומלץ שהאפליקציה תספק דרך למחוק את השיוך בין האפליקציה לבין החשבון של המשתמש. הוספת היכולת הזו לאפליקציה מאפשרת לכם להגיב לאירוע ולהפעיל לוגיקה מתאימה, כמו מחיקה של מידע אישי שמשויך לחשבון.
בדוגמה הבאה ב-JavaScript מוסבר איך לבטל את ההיקפים של משתמש באופן פרוגרמטי.
var revokeAllScopes =function(){ gapi.auth2.getAuthInstance().disconnect(); }
[null,null,["עדכון אחרון: 2024-11-22 (שעון UTC)."],[[["The Google Sign-In JavaScript library is deprecated and will eventually be sunset."],["FedCM APIs will be required for Google Sign-In, necessitating an impact assessment to ensure continued functionality."],["Applications should implement a method for users to disconnect their accounts and delete associated data."]]],[]]