Apparently AdWords API client libraries don't provide the functionality but it's possible by making a simple http POST request to https://accounts.google.com/o/oauth2/revoke?token=YOUR_REFRESH_TOKEN . Here is how it's implemented in the generic google API client library: https://github.com/google/google-api-php-client/blob/master/src/Google/AccessToken/Revoke.php
On Friday, January 22, 2016 at 2:48:45 PM UTC+1, Tomas Rimkus wrote: > > Assuming some user gave access to his MCC account using OAuth token, is > there a way to revoke that token by using some Google API request? I know > that the user can go to his "Connected apps and sites" in his account and > revoke access there but I would like to have an option to do that using our > system. > > PS: I saw the thread from 2012 which says it's not possible, but maybe sth > changed since then. > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/cf9b48b6-7635-45ae-9afc-c337017a8538%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
