File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,6 +39,25 @@ m365 spo list webhook add [options]
3939
4040<Global />
4141
42+ ## Permissions
43+
44+ <Tabs >
45+ <TabItem value = " Delegated" >
46+
47+ | Resource | Permissions |
48+ | ------------| ----------------|
49+ | SharePoint | AllSites.Write |
50+
51+ </TabItem >
52+ <TabItem value = " Application" >
53+
54+ | Resource | Permissions |
55+ | ------------| ---------------------|
56+ | SharePoint | Sites.ReadWrite.All |
57+
58+ </TabItem >
59+ </Tabs >
60+
4261## Examples
4362
4463Add a web hook to the list retrieved by Title located in a specific site with a specific notification url and the default expiration date
Original file line number Diff line number Diff line change @@ -37,6 +37,25 @@ m365 spo list webhook get [options]
3737
3838If the specified ` id ` doesn't refer to an existing webhook, you will get a ` 404 - "404 FILE NOT FOUND" ` error.
3939
40+ ## Permissions
41+
42+ <Tabs >
43+ <TabItem value = " Delegated" >
44+
45+ | Resource | Permissions |
46+ | ------------| ----------------|
47+ | SharePoint | AllSites.Write |
48+
49+ </TabItem >
50+ <TabItem value = " Application" >
51+
52+ | Resource | Permissions |
53+ | ------------| ---------------------|
54+ | SharePoint | Sites.ReadWrite.All |
55+
56+ </TabItem >
57+ </Tabs >
58+
4059## Examples
4160
4261Return information about a specific webhook which belongs to a list retrieved by ID in a specific site
Original file line number Diff line number Diff line change @@ -30,6 +30,25 @@ m365 spo list webhook list [options]
3030
3131<Global />
3232
33+ ## Permissions
34+
35+ <Tabs >
36+ <TabItem value = " Delegated" >
37+
38+ | Resource | Permissions |
39+ | ------------| ----------------------|
40+ | SharePoint | AllSites.FullControl |
41+
42+ </TabItem >
43+ <TabItem value = " Application" >
44+
45+ | Resource | Permissions |
46+ | ------------| -----------------------|
47+ | SharePoint | Sites.FullControl.All |
48+
49+ </TabItem >
50+ </Tabs >
51+
3352## Examples
3453
3554List all webhooks for a list with a specific ID in a specific site
Original file line number Diff line number Diff line change 11import Global from ' ../../_global.mdx' ;
2+ import Tabs from ' @theme/Tabs' ;
3+ import TabItem from ' @theme/TabItem' ;
24
35# spo list webhook remove
46
@@ -38,6 +40,25 @@ m365 spo list webhook remove [options]
3840
3941If the specified id doesn't refer to an existing webhook, you will get a ` 404 - "404 FILE NOT FOUND" ` error.
4042
43+ ## Permissions
44+
45+ <Tabs >
46+ <TabItem value = " Delegated" >
47+
48+ | Resource | Permissions |
49+ | ------------| ----------------|
50+ | SharePoint | AllSites.Write |
51+
52+ </TabItem >
53+ <TabItem value = " Application" >
54+
55+ | Resource | Permissions |
56+ | ------------| ---------------------|
57+ | SharePoint | Sites.ReadWrite.All |
58+
59+ </TabItem >
60+ </Tabs >
61+
4162## Examples
4263
4364Remove webhook with a specific ID from a list retrieved by ID in a specific site
Original file line number Diff line number Diff line change 11import Global from ' ../../_global.mdx' ;
2+ import Tabs from ' @theme/Tabs' ;
3+ import TabItem from ' @theme/TabItem' ;
24
35# spo list webhook set
46
@@ -44,6 +46,25 @@ m365 spo list webhook set [options]
4446
4547If the specified ` id ` doesn't refer to an existing webhook, you will get a ` 404 - "404 FILE NOT FOUND" ` error.
4648
49+ ## Permissions
50+
51+ <Tabs >
52+ <TabItem value = " Delegated" >
53+
54+ | Resource | Permissions |
55+ | ------------| ----------------|
56+ | SharePoint | AllSites.Write |
57+
58+ </TabItem >
59+ <TabItem value = " Application" >
60+
61+ | Resource | Permissions |
62+ | ------------| ---------------------|
63+ | SharePoint | Sites.ReadWrite.All |
64+
65+ </TabItem >
66+ </Tabs >
67+
4768## Examples
4869
4970Update 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
You can’t perform that action at this time.
0 commit comments