Signature
global static void deleteAttachments( List<Types.DeleteAttachmentInput> attachmentInputs, String library, String runAs )
Parameters
| Parameter | Description | |
|---|---|---|
attachmentInputs |
required | List of Types.DeleteAttachmentInput. |
libraryString |
required | Type of Library. Example - sharepoint |
runAsString |
required | 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
void
Example
List<cldfs.Types.DeleteAttachmentInput> deleteAttachmentInputs = new List<cldfs.Types.DeleteAttachmentInput>{ new cldfs.Types.DeleteAttachmentInput( '6761bc5d7e748db3f896e416', 'file', '006DXXXXXXXXXXXX' ) }; cldfs.Client.deleteAttachments(deleteAttachmentInputs,'google','integrationUser');