Skip to main content
Known Participant
Oct 31, 2025 5:53 AM UTC
Solved

Delete File From Google Drive

Is it possible to delete file from google drive after we have download the file to Appian using Google Drive Integration

    harshas2775
    Brainy
    Oct 31, 2025 5:55 AM UTC

    It is possible. Check the endpoint here . You will need to pass the file Id as parameter. 

    Happy to help. Even happier to optimize.

    5 replies

    harshas2775
    Brainy
    Oct 31, 2025 5:55 AM UTC

    It is possible. Check the endpoint here . You will need to pass the file Id as parameter. 

    Happy to help. Even happier to optimize.
    Known Participant
    Oct 31, 2025 5:56 AM UTC

    Thanks Harsha

    shubhama926776
    Brainy
    Oct 31, 2025 6:02 AM UTC

    Download the file in Appian, then make an HTTP DELETE call to  https://www.googleapis.com/drive/v3/files/{fileId} with OAuth authorization to delete the file from Google Drive.

    Make sure your integration has permissions to delete files

    शुभम्
    Known Participant
    Nov 4, 2025 4:32 AM UTC

    Is it possible to perform Delete or Download operations on the folder shared with me on the Google Drive? 

    harshas2775
    Brainy
    Nov 4, 2025 5:41 AM UTC

    To delete a folder or file that is shared with you, you can use the files.delete method. Also, you need to an owner or organiser for the file/folder, without this permission you won't be able to perform delete operation.

    For download you can use the files.get method with the ID of the file to download and the alt=media URL parameter. 

    Happy to help. Even happier to optimize.