Delete File

Deletes the file in OneDrive or SharePoint.


⬅️INPUT

Parameter

Type

Required

Description

ConnectionSettings

PAWOffice365ConnectionSettings

✅Yes

OneDrive or SharePoint connection settings

FilePath

String

✅Yes

Path of the file to delete


➡️OUTPUT

Parameter

Type

Description

IsOffice365DeleteFileSuccessful

Boolean

Operation success status

Office365DeleteFileMessage

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".