mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-05-29 23:17:45 +02:00
894 B
894 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.a0AcM612wLdbBK14FR2SE0d3WHabYb8Xtppm0oKCcbVrecgsA-a5DfsgZ29stOw4hu84F_IpHbKTJocsm1WpjLQPBT5MJ6p8D7H1PKa_iT0...";
Identifier = "1RijXw14hyQN_59ZOzJ9f35ezzU_qd114";
Result = OPI_GoogleDrive.DeleteObject(Token, Identifier);
oint gdrive DeleteObject --token %token% --object "1dg_MwwwPSPYT0p3y-8dvGWoapbwaaaaa"