Delete an Item

Deletes an item (folder or file) within a given SharePoint document library using the Microsoft Graph API.

Syntax

Below is a line-by-line overview of the automation syntax. Expand each line to learn more.

delete the item

What does it do? This is the base syntax for the procedure.

Where does it go? This phrase should be written on a new line.

Is it required? ✅ Yes — This phrase is required in the syntax.

Does it require input data? ✅ Yes — The item (folder or file) to be deleted must be specified for the item.

Examples

1. Delete an item

get a folder at "/My Site/My Documents/My Folder"
get the folder's items
delete the first item

Last updated

Was this helpful?