Skip to main content

spo listitem record unlock

Unlocks the list item record

Usage

m365 spo listitem record unlock [options]

Options

-u, --webUrl <webUrl>

The url of the web

--listItemId <listItemId>

ID of the list item that should be unlocked

--listId [listId]

ID of the list. Specify either listTitle, listId or listUrl

--listTitle [listTitle]

Title of the list. Specify either listTitle, listId or listUrl

--listUrl [listUrl]

Server- or site-relative URL of the list. Specify either listTitle, listId or listUrl

-h, --help [help]

Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Examples

Unlocks the list item record in a given site based on the list id

m365 spo listitem record unlock --webUrl https://contoso.sharepoint.com/sites/project-x --listId 0cd891ef-afce-4e55-b836-fce03286cccf --listItemId 1

Unlocks the list item record in a given site based on the list title

m365 spo listitem record unlock --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle 'List 1' --listItemId 1

Unlocks the list item record in a given site based on the server relative list url

m365 spo listitem record unlock --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl /sites/project-x/lists/TestList --listItemId 1

Response

The command won't return a response on success.

CTRL + M