DELETE/users/{userId}/drive/trash-files/{trashFileId}

Deletes a trashed file from my drive.

Authorization

oauth2

OAuth 2.0 authentication.
For more information, see Authentication and Authorization.

Scope

file

HTTP Request

DELETEhttps://www.worksapis.com/v1.0/users/{userId}/drive/trash-files/{trashFileId}

Path Parameters

ParameterTypeDescription
userId string 

User ID

  • Mail
  • Resource ID
  • External key in "externalKey:{externalKey}" format
  • me

required
example : me 
trashFileId string 

Trashed file ID


required
example : MTQ1MDMwMDJ8MTQ1Mjk0NDU1Mjk3NnxGfDA 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 204

No Content