Menu
Drive.files.delete
Permanently deletes a file owned by the user without moving it to the trash. If the file belongs to a shared drive the user must be an organizer on the parent. If the target is a folder, all descendants owned by the user are also deleted.
DELETE
/files/{fileId}Use it in a workflow
- Add a step and choose the Google Drive connector.
- Pick the Drive.files.delete action (under files).
- Fill in the fields below, then reference the result from later steps as
{{driveFilesDelete.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with a any. Read it in later steps with {{driveFilesDelete.response.data.<field>}}.
Need more? See the Google Drive guide for connection setup and behaviour shared by every action.
Was this page helpful?