Toggle menu

deleteListItem

Description

Deletes a specific list item in a SharePoint list.

Parameters

NameTypeDescription
listTitleStringThe title of the list that contains the list item. Exactly one of listTitle or listUrl must be specified
listUrlStringThe relative server URL of the list that contains the list item. Exactly one of listTitle or listUrl must be specified
listItemIdInteger, requiredThe ID of the list item to delete
authDetailsObject, optionalThe authDetails set in the worker configuration to use. If not set the request will use the default authDetails
authDetails.identifierStringThe identifier of authDetails set in the worker configuration
authDetails.authTypeStringThe authType of authDetails set in the worker configuration

Example

{
    "id": "123",
    "jsonrpc": "2.0",
    "method": "deleteListItem",
    "params": {
        "listTitle": "GossTest",
        "listItemId": 27
    }
}

Last modified on June 27, 2023

Share this page

Facebook icon Twitter icon email icon

Print

print icon