Skip to content

Delete/Trash files when authenticating with a Service Account #351

@lpares12

Description

@lpares12

Hi!

So I need to use service account authentication since I'm in a headless setup with no GUI access in the machine. So I have created a service account, shared the drive folder with that account and given it Editor permissions.

The problem is that I can't seem to remove files like this. I googled a bit and turns out Editors can't remove files from Drive. So I'm wondering if there's any approach with PyDrive2 to have a headless setup and to be able to remove files.

Any alternatives will be appreciated!

Also trashing the files would be okay, but can't do that either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions