Activities
latest
false
Productivity Activities
Last updated Jun 3, 2024

DeleteItem

Deletes a file or folder.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

Assembly: UiPath.MicrosoftOffice365.Activities.Api (in UiPath.MicrosoftOffice365.Activities.Api.dll)

Overloads

OverloadDescription
DeleteItem(IDriveItem)Deletes a file or folder from OneDrive or SharePoint.
DeleteItem(String)Deletes a file or folder at the specified location in OneDrive or SharePoint by Url.
DeleteItem(String, String, String)Deletes a file or folder at the specified location in OneDrive or SharePoint by ID.

DeleteItem(IDriveItem)

Deletes a file or folder from OneDrive or SharePoint.
void DeleteItem(
	IDriveItem item
)void DeleteItem(
	IDriveItem item
)
item IDriveItem
The file or folder to delete.

DeleteItem(String)

Deletes a file or folder at the specified location in OneDrive or SharePoint by Url.
void DeleteItem(
	string itemUrl
)void DeleteItem(
	string itemUrl
)
itemUrl String
The Url of the file or folder of interest.

DeleteItem(String, String, String)

Deletes a file or folder at the specified location in OneDrive or SharePoint by ID.
void DeleteItem(
	string itemId,
	string siteUrl,
	string documentLibraryName
)void DeleteItem(
	string itemId,
	string siteUrl,
	string documentLibraryName
)
itemId String
The ID of the file or folder of interest.
siteUrl String
The Url of a SharePoint site.
documentLibraryName String
The document library within the specified SharePoint site.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.