Apex
...
Types
Input & Output Types

Types.DeleteResourcesInput

Represents input for deleting the resources using Delete Resource function.

Apex


Class params/properties:

  1. resourceIds - The unique ID of the resource (file or folder) to be deleted
  2. resourceType - Valid Values: file or folder
  3. driveId - Required for Google Drive and SharePoint. Retrieve this from the Content Library tab in Salesforce using the "View Metadata" button.