spo list webhook list
Lists all webhooks for the specified list
Usage
m365 spo list webhook list [options]
Options
-u, --webUrl <webUrl>URL of the site where the list is located.
-i, --listId [listId]ID of the list. Specify either
listTitle,listIdorlistUrl.-t, --listTitle [listTitle]Title of the list. Specify either
listTitle,listIdorlistUrl.--listUrl [listUrl]Server- or site-relative URL of the list. Specify either
listTitle,listIdorlistUrl.
-h, --help [help]Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options,examples,remarks,permissions,response,full. Default isoptions.--query [query]JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]Output type.
json,text,csv,md,none. Defaultjson.--verboseRuns command with verbose logging.
--debugRuns command with debug logging.
Examples
List all webhooks for a list with a specific ID in a specific site
m365 spo list webhook list --webUrl https://contoso.sharepoint.com/sites/project-x --listId 0cd891ef-afce-4e55-b836-fce03286cccf
List all webhooks for a list with a specific title in a specific site
m365 spo list webhook list --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle Documents
List all webhooks for a list with a specific URL in a specific site
m365 spo list webhook list --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl '/sites/project-x/Documents'
Response
- JSON
- Text
- CSV
- Markdown
[
{
"clientState": "system-managed:8082D436-D8DA-458D-96AD-34C902B73F37",
"expirationDateTime": "2022-11-16T20:25:12.2735056Z",
"id": "b8838bbb-9ddb-44fb-9016-0aacb9e02b77",
"notificationUrl": "https://northeurope1-0.pushnp.svc.ms/notifications?token=1e263e06-4bea-4da1-9f9f-5c8f713eef76",
"resource": "97d19285-b8a6-4c7f-9c6c-d6b850a6561a",
"resourceData": null
}
]
clientState expirationDateTime id resource
--------------------------------------------------- ---------------------------- ------------------------------------ ------------------------------------
system-managed:8082D436-D8DA-458D-96AD-34C902B73F37 2022-11-16T20:25:12.2735056Z b8838bbb-9ddb-44fb-9016-0aacb9e02b77 97d19285-b8a6-4c7f-9c6c-d6b850a6561a
id,clientState,expirationDateTime,resource
b8838bbb-9ddb-44fb-9016-0aacb9e02b77,system-managed:8082D436-D8DA-458D-96AD-34C902B73F37,2022-11-16T20:25:12.2735056Z,97d19285-b8a6-4c7f-9c6c-d6b850a6561a
# spo list webhook list --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "Documents"
Date: 2/20/2023
## b8838bbb-9ddb-44fb-9016-0aacb9e02b77
Property | Value
---------|-------
clientState| system-managed:8082D436-D8DA-458D-96AD-34C902B73F37
expirationDateTime| 2022-11-16T20:25:12.2735056Z
id| b8838bbb-9ddb-44fb-9016-0aacb9e02b77
notificationUrl| https://northeurope1-0.pushnp.svc.ms/notifications?token=1e263e06-4bea-4db1-9f9f-5c8f713eef76
resource| 97d19285-b8a6-4c7f-9c6c-d6b850a6561a
resourceData| null