1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-29 21:57:16 +02:00
Vitaly the Alpaca (bot) 2be0b658fb Main build (Jenkins)
2024-10-13 02:26:42 +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.a0AcM612zmTq3HijDy5D8xu-llkoj4aTlkgkrZ4LGSZcpCOnX1Z6xu9IsTLXFZSJu8uVsYxHj0ih5glQrF0yWTomhAPTGm1M9Kk7ZvYIwpm...";
    Identifier = "1jUonZ73Ck_Wyv5FDpsBr7UVSwx1mt0dp";

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

null