Skip to content

New command: spo list webhook list #579

@arjenbloemsma

Description

@arjenbloemsma

Lists all webhooks for the specified list

Command: spo list webhook list [options]

Options:

-u|--webUrl | URL of the site where the list to retrieve the webhook info for is located
-i|--id | ID of the list to retrieve information for. Specify either id or title but not both
-t|--title | Title of the list to retrieve information for. Specify either id or title but not both

Usage:

spo list webhook list --webUrl https://contoso.sharepoint.com/sites/ninja --title Documents 

For each webhook the following fields should be shown:

  • id
  • clientState (can be null)
  • expirationDateTime
  • notificationUrl
  • resource

If output is set to JSON include all properties

Behaviour should be similar to the PowerShell command: Get-PnPWebhookSubscriptions

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions