1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-26 05:37:27 +02:00
2024-08-14 09:06:31 +03:00

769 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


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

''