Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions docs/docs/cmd/spo/list/list-webhook-add.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,25 @@ m365 spo list webhook add [options]

<Global />

## Permissions

<Tabs>
<TabItem value="Delegated">

| Resource | Permissions |
|------------|----------------|
| SharePoint | AllSites.Write |

</TabItem>
<TabItem value="Application">

| Resource | Permissions |
|------------|---------------------|
| SharePoint | Sites.ReadWrite.All |

</TabItem>
</Tabs>

## Examples

Add a web hook to the list retrieved by Title located in a specific site with a specific notification url and the default expiration date
Expand Down
19 changes: 19 additions & 0 deletions docs/docs/cmd/spo/list/list-webhook-get.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,25 @@ m365 spo list webhook get [options]

If the specified `id` doesn't refer to an existing webhook, you will get a `404 - "404 FILE NOT FOUND"` error.

## Permissions

<Tabs>
<TabItem value="Delegated">

| Resource | Permissions |
|------------|----------------|
| SharePoint | AllSites.Write |

</TabItem>
<TabItem value="Application">

| Resource | Permissions |
|------------|---------------------|
| SharePoint | Sites.ReadWrite.All |

</TabItem>
</Tabs>

## Examples

Return information about a specific webhook which belongs to a list retrieved by ID in a specific site
Expand Down
19 changes: 19 additions & 0 deletions docs/docs/cmd/spo/list/list-webhook-list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,25 @@ m365 spo list webhook list [options]

<Global />

## Permissions

<Tabs>
<TabItem value="Delegated">

| Resource | Permissions |
|------------|----------------------|
| SharePoint | AllSites.FullControl |

</TabItem>
<TabItem value="Application">

| Resource | Permissions |
|------------|-----------------------|
| SharePoint | Sites.FullControl.All |

</TabItem>
</Tabs>

## Examples

List all webhooks for a list with a specific ID in a specific site
Expand Down
21 changes: 21 additions & 0 deletions docs/docs/cmd/spo/list/list-webhook-remove.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import Global from '../../_global.mdx';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# spo list webhook remove

Expand Down Expand Up @@ -38,6 +40,25 @@ m365 spo list webhook remove [options]

If the specified id doesn't refer to an existing webhook, you will get a `404 - "404 FILE NOT FOUND"` error.

## Permissions

<Tabs>
<TabItem value="Delegated">

| Resource | Permissions |
|------------|----------------|
| SharePoint | AllSites.Write |

</TabItem>
<TabItem value="Application">

| Resource | Permissions |
|------------|---------------------|
| SharePoint | Sites.ReadWrite.All |

</TabItem>
</Tabs>

## Examples

Remove webhook with a specific ID from a list retrieved by ID in a specific site
Expand Down
21 changes: 21 additions & 0 deletions docs/docs/cmd/spo/list/list-webhook-set.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import Global from '../../_global.mdx';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# spo list webhook set

Expand Down Expand Up @@ -44,6 +46,25 @@ m365 spo list webhook set [options]

If the specified `id` doesn't refer to an existing webhook, you will get a `404 - "404 FILE NOT FOUND"` error.

## Permissions

<Tabs>
<TabItem value="Delegated">

| Resource | Permissions |
|------------|----------------|
| SharePoint | AllSites.Write |

</TabItem>
<TabItem value="Application">

| Resource | Permissions |
|------------|---------------------|
| SharePoint | Sites.ReadWrite.All |

</TabItem>
</Tabs>

## Examples

Update the notification url of a webhook with a specific ID attached to a list with a specific ID in a specific site to a specific URL
Expand Down