1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-22 10:05:29 +02:00
Files
OpenIntegrations/docs/en/md/Google_Drive/File-and-directory-management/Delete-object.md
T
Vitaly the Alpaca (bot) 6baf87b203 Main build (Jenkins)
2024-10-13 01:45:32 +03:00

898 B

sidebar_position
sidebar_position
9

Delete object

Deletes file or directory by ID

Function DeleteObject(Val Token, Val Identifier) Export

Parameter CLI option Type Description
Token --token String Token
Identifier --object String Identifier of the object to delete

Returns: Map Of KeyAndValue - serialized JSON response from Google


    Token      = "ya29.a0AcM612w6SWzMf3Ti1dSiFdgdLdXxLBjzKdXoLGuGDHoSXzb0uAKe5hJ-HPz1Njyp7HuHE6NnMnevQwbo0AR-yPAwfrA1OsMFZ_Fac2ASn...";
    Identifier = "1rjQ1PytDjJVgTIkNK600sQEPGqHDIeWW";

    Result = OPI_GoogleDrive.DeleteObject(Token, Identifier);
    
  oint gdrive DeleteObject --token %token% --object "1dg_MwwwPSPYT0p3y-8dvGWoapbwaaaaa"

null