Zoho WorkDrive Refresh Token Revoke or Deletion

Zoho WorkDrive Refresh Token Revoke or Deletion

The documentation here https://workdrive.zoho.com/apidocs/v1/oauth2authentication/revoke-refresh-token says that to revoke a token requires the refresh token. However, what if you lost it/don't remember it? What do you then? Can Zoho Support/Engineers clear all your refresh tokens for you? It seems I have generated several refresh tokens for different scopes such as WorkDrive.files.sharing.ALL WorkDrive.files.ALL and WorkDrive.files.sharing.CREATE during testing/development but I lost/don't remember them.

==========> Part Two <==========
I was able to find the refresh tokens fortunately due to having them commented elsewhere in the code. I tried to use the following link to revoke them  https://workdrive.zoho.com/apidocs/v1/oauth2authentication/revoke-refresh-token but I get the following error:


First Refresh Token
  1. https://accounts.zoho.com/oauth/v2/token/revoke?token=1000.6560cf73c4aeaffea1a8ce601423405b.637d831f8a751bef52824cbfacdb3f80
Second Refresh Token
  1. https://accounts.zoho.com/oauth/v2/token/revoke?token=1000.6a76a99a5040cd15590735697f6dc67d.fcdb4acc21e866385d8e772ce7b2d80b
Third Refresh Token
  1. https://accounts.zoho.com/oauth/v2/token/revoke?token=1000.46a393ef978df2dad1e9c69877026dc8.be5779ac802cd154864cf86d913aa8d1
Each of which individually gives a result of {"status":"success"}

To double checked if it worked I reloaded the php file that utilized the most recent refresh token/the third refresh token listed above and output was {"errors":[{"id":"F7003","title":"Invalid OAuth token."}]} which I think makes sense since the OAuth token depends on the refresh token and the refresh token has been revoked/deleted.

!!!!!HOWEVER!!!!!

I started from the very beginning using the following link https://workdrive.zoho.com/apidocs/v1/oauth2authentication/authorization-request in order to generate a Zoho Authorization Request using the following url:

It produces the following:


The problem with this is that the url I used listed three scopes:
  1. WorkDrive.files.sharing.ALL
  2. WorkDrive.files.ALL
  3. WorkDrive.links.ALL
But it only lists information or permissions regarding sharing and NOTHING related to files and links. Why is that? Did I do something wrong? This link  https://workdrive.zoho.com/apidocs/v1/oauth2authentication/authorization-request mentions several query parameters one of which is scope and it says that you can provide multiple scopes by separating them using commas which is what I did. So I am confused.

Any help would be greatly appreciated.

    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now