Apex
CloudFiles Client

Delete Resource

This method allows you to delete a resource (file or folder) in a connected external storage, such as SharePoint, Google Drive, Dropbox, Box, or AWS S3 using apex.

Apex


Parameters

  1. resourcesInput - List Types.DeleteResourcesInput
  2. library - valid values: sharepoint, google, onedrive, dropbox, box, or cloudfiles (AWS S3).
  3. runAs - Email Id of the user on whom behalf the function should run. If you want to run the action as automation user, supply integrationUser

Return Type

This functions doesn't return anything

Example

Apex