You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-22 10:05:29 +02:00
898 B
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