FlowDeleteAction

This method calls the deleteItem method of ClientApi. It assumes that the named credential to use is to be found in the “SharePoint Object Settings” Custom Metadata type (of the objectSettingsLabel if one is specified) or the “SharePoint Settings” Custom Metadata type. The Site Id and Document Library Id are assumed to come from the SharePoint Object Settings or SharePoint Settings, but can be overriden by the siteId and documentLibraryId parameters. For simplicity, error handling is not in this example. Production usage should have error handling.

See DeletePayload

Methods

global static List<FlowActionPayload> deleteItem(List<DeletePayload> deleteItems)

INVOCABLEMETHOD