1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-04-09 07:14:16 +02:00
Vitaly the Alpaca (bot) 7224e8ab1b Main build (Jenkins)
2024-10-12 23:29:51 +03:00

898 B

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.a0AcM612yQIsgMPiOdOLBSBoiVfcCBuJ5T9HRP5lB04ipL2jQDnyuXGmn-IkxMKqss53fPz99sXRoX3_ZJt6s_N7YSfVzI88y_uUa2euM32...";
    Identifier = "1rjQ1PytDjJVgTIkNK600sQEPGqHDIeWW";

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

null