I explored some functions in Google App Script and added the requested OAuth permissions to my script.
AppScript Permissions Image in Google Sheets
But finally I removed the particular function calls. How can I remove the granted permissions??
Regars klaus
Very easy, if you set the OAuth manually, the others OAuth are deleted automatically.
To set the OAuth manually, you need to open the "appscript.json" file located in [Script Menu Bar] > [View] > [Show manifest file], and include the OAuth that you need as below:
"oauthScopes": ["https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/spreadsheets"],
The OAuth Scopes in that list are displayed automatically based on a scan of the code, just keep in mind that even if your code is commented yet an authorization request will be generated and will be displayed in that list
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With