0

Is there a way to get list of users requesting permission for a file/folder using Google Drive API.

I have seen API to grant permission to an email address using the API but couldn't find any endpoint to get list of users requesting access to a file/folder.

Ideally I want to fetch get all the users requesting permissions for my shared folders and approve/deny them.

1 Answer 1

1

This is not possible with current Drive API, but you could use Gmail API as a workaround:

  1. list email by labels (add filter to those emails requesting access)
  2. parse it
  3. grant access to users you want with Drive API

Good luck,

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.