Delete Folder

Deletes the folder (with its contents) in OneDrive or SharePoint.


⬅️INPUT

Parameter

Type

Required

Description

ConnectionSettings

PAWOffice365ConnectionSettings

✅Yes

OneDrive or SharePoint connection settings

FolderPath

String

✅Yes

Path of the folder to delete


➡️OUTPUT

Parameter

Type

Description

IsOffice365DeleteFolderSuccessful

Boolean

Operation success status

Office365DeleteFolderMessage

String

Status/error message


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

Specifies whether an exception is thrown when the operation fails. The default value is "No".