3
Reply

Google Drive API Delete File

krishna kanhaiya

krishna kanhaiya

Feb 17 2017 11:25 AM
601
Hi , I am using Google Drive API and i want to delete files of "Share with me" folder.this is my code ////////////////////////////////
public void DeleteFile(string fileID, DriveService service)
{
var fileId = fileID; //"0BwwA4oUTeiV1UVNwOHItT0xfa2M";
var request = service.Files.Delete(fileId);
var file = request.Execute();
}
//////////////////////////////
 this code is give a error 403 Permission error How we solve .... Thanks in Advance please don't give a link ..Thanku 

Answers (3)