@@ -30,7 +30,7 @@ Choose the permission or permissions marked as least privileged for this API. Us
30
30
-->
31
31
32
32
``` http
33
- PATCH /sites/{sitesId }/pageTemplates/microsoft.graph.pageTemplate/ {page-template-id}
33
+ PATCH /sites/{site-id }/pageTemplates/{page-template-id}/microsoft.graph.pageTemplate
34
34
```
35
35
36
36
## Request headers
@@ -64,15 +64,14 @@ If successful, this method returns a `200 OK` response code and an updated [page
64
64
65
65
The following example shows a request.
66
66
67
- # [ HTTP] ( #tab/http )
68
67
<!-- {
69
68
"blockType": "request",
70
69
"name": "update_pageTemplate"
71
70
}
72
71
-->
73
72
74
73
``` http
75
- PATCH /sites/dd00d52e-0db7-4d5f-8269-90060ac688d1/pageTemplates/8fbff3f5-0e5d-49e7-89c7-2b042b3bfaa6/microsoft.graph.pageTemplate
74
+ PATCH https://graph.microsoft.com/beta /sites/dd00d52e-0db7-4d5f-8269-90060ac688d1/pageTemplates/8fbff3f5-0e5d-49e7-89c7-2b042b3bfaa6/microsoft.graph.pageTemplate
76
75
Content-Type: application/json
77
76
78
77
{
@@ -82,12 +81,6 @@ Content-Type: application/json
82
81
}
83
82
```
84
83
85
- # [ JavaScript] ( #tab/javascript )
86
- [ !INCLUDE [ sample-code] ( ../includes/snippets/javascript/update-pagetemplate-javascript-snippets.md )]
87
- [ !INCLUDE [ sdk-documentation] ( ../includes/snippets/snippets-sdk-documentation-link.md )]
88
-
89
- ---
90
-
91
84
### Response
92
85
93
86
The following example shows the response.
@@ -138,7 +131,7 @@ Content-Type: application/json
138
131
},
139
132
"titleArea": {
140
133
"enableGradientEffect": true,
141
- "imageWebUrl": "https://cdn.hubblecontent .osi.office.net/m365content/publish/005292d6-9dcc-4fc5-b50b-b2d0383a411b/image.jpg",
134
+ "imageWebUrl": "https://cdn.contoso .osi.office.net/m365content/publish/005292d6-9dcc-4fc5-b50b-b2d0383a411b/image.jpg",
142
135
"layout": "colorBlock",
143
136
"showAuthor": true,
144
137
"showPublishedDate": false,
0 commit comments