DeleteResource
Permanently deletes a specified file or folder from OneDrive, removing it from all views and history.
Input
| Name | Type | Required | Description |
| ResourcePath | String | False | Path to the resource that should be deleted. Either ResourcePath or ResourceId must be provided to identify the item. |
| ResourceId | String | False | Unique ID of the resource to be deleted. Either ResourceId or ResourcePath must be provided. |
| DriveId | String | False | ID of the drive that contains the resource. Specify this only if the resource is in a drive other than the current user's default drive. |
| Permanently | Boolean | False | Set to 'true' to permanently delete the resource. If not specified or set to 'false', the resource is moved to the recycle bin instead.
The default value is false. |
Result Set Columns
| Name | Type | Description |
| Success | String | Indicates whether the delete operation was successful. Returns success status or error information. |