Delete File
AI-generatedSummary
Delete a SharePoint file using its server-relative path or a SharePoint URL. The operation uses the configured SharePoint credentials, which must use NTLM authentication, and returns a success record after deletion.
Inputs
- Delete Input Mode — Choose Manual (default in the handler) to provide a File Path, or From SharePoint URL (the UI default) to derive the site and file paths from a URL.
- File Path — Required in Manual mode. The server-relative path of the file to delete, such as /kb/it/WikiDocuments/MyFolder/report.xlsx.
- SharePoint URL — Required in From SharePoint URL mode. The node parses the file path and SharePoint web path from the URL.
- Web Path — Optional SharePoint web path for manual mode, used with a root Site URL in the credentials. URL mode derives the web path from the SharePoint URL.
Output shape
A single item containing a JSON record with success, deletedPath, and sitePath fields.
Deletion is performed through SharePoint's file API. The operation only supports NTLM authentication; request failures are raised as errors.