Skip to content

New command: Get information about the specified webhook #590

@arjenbloemsma

Description

@arjenbloemsma

Gets information about the specified webhook

Command: spo list webhook get -u|--webUrl <webUrl> -t|--listTitle [listTitle] -l|--listId [listId] -i|--id <id>

Options:

-u, --webUrl | URL of the site where the list to retrieve the webhook info for is located
-l, --listId | ID of the list from which to retrieve the webhook. Specify listId or listTitle but not both
-t, --listTitle |Title of the list from which to retrieve the webhook. Specify listId or listTitle but not both
-I, --id | ID of the webhook to retrieve

Usage:

spo list webhook get --webUrl https://contoso.sharepoint.com/sites/ninja --listTitle Documents -id cc27a922-8224-4296-90a5-ebbc54da2e85

The following fields should be shown:

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

If output is set to JSON include all properties

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions