I would like to know if a Google drive domain admin can enumerate files in team drive where he is not a member? currently this seems not supported through drive rest api, I'm using below API call to enumerate files and the corresponding error response below. Please let me know if there is any alternative api call to achieve this.
https://www.googleapis.com/drive/v2/files?teamDriveId=&corpora=teamDrive&fields=*&includeTeamDriveItems=true&supportsTeamDrives=true
{
"error": {
"errors": [
{
"domain": "global",
"reason": "teamDriveMembershipRequired",
"message": "The attempted action requires Team Drive membership."
}
],
"code": 403,
"message": "The attempted action requires Team Drive membership."
}
}