Delete SharePoint list item
Delete an item from a SharePoint list; it goes to the site's recycle bin.
Command in the Microsoft 365 toolkit · id ooa.microsoft365/delete_list_item · 6 inputs (2 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Access token | Credential | No | Microsoft Graph access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token. Not needed with a SharePoint site session. | |
| Site | String | No | SharePoint site: site id, or hostname:/sites/path such as contoso.sharepoint.com:/sites/Finance. | |
| List | String | Yes | List id or display name. | |
| Item ID | String | Yes | Item id. | |
| Endpoint address | String | No | https://graph.microsoft.com/v1.0 | Graph endpoint; change only for national clouds or testing. |
| Session | String | No | A SharePoint site signed in to with Sign in to SharePoint site (also on premises); when given, access_token and site are not used (G3). |