SharePoint delete list attachment action

Use the Delete list attachment action to delete an attachment from a list item in your SharePoint site.

Prerequisites

Ensure that you are authenticated before initiating any SharePoint action. For more details, see SharePoint authenticate action.

Procedure

  1. From the Actions pane, select SharePoint > List and list items > Delete list attachment and place it in the canvas.
  2. In the Site field, select one of the following options:
    • Default site: The site name used during authentication is considered the default site.
    • Other site: If you want to choose a different site, specify the different site name.
  3. In the List name field, specify a list name or select a variable that contains the list name.
  4. In the List item ID field, specify a list item ID or select a variable that contains the list item ID.
  5. In the Attachment name field, specify the attachment name or select a variable that contains the attachment name.
  6. In the Session field, select one of the following options:
    • Session name: The name you provided for the session during authentication.
    • Variable: Select a variable which contains the session name.
The attachment is successfully deleted from the specified list in your SharePoint site.