Skip to content

spo listitem record undeclare

Undeclares list item as a record

Usage

spo listitem record undeclare [options]

Options

Option Description
--help output usage information
-u, --webUrl <webUrl> The URL of the site where the list is located
-i, --id <id> ID of the list item to be undeclared as a record.
-l, --listId [listId] The ID of the list where the item is located. Specify listId or listTitle but not both
-t, --listTitle [listTitle] The title of the list where the item is located. Specify listId or listTitle but not both
-o, --output [output] Output type. json
--verbose Runs command with verbose logging
--debug Runs command with debug logging

Examples

Undeclare the list item as a record with ID 1 from list with ID 0cd891ef-afce-4e55-b836-fce03286cccf located in site _https://contoso.sharepoint.com/sites/project-x

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

Undeclare the list item as a record with ID 1 from list with title List 1 located in site https://contoso.sharepoint.com/sites/project-x

spo listitem record undeclare --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle 'List 1' --id 1