You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/apis/communication-site-creation-rest.md
+65-54Lines changed: 65 additions & 54 deletions
Original file line number
Diff line number
Diff line change
@@ -1,85 +1,105 @@
1
1
---
2
-
title: Create SharePoint Communication site using REST
3
-
description: Create and get the status of a new modern SharePoint Communication site by using the REST interface.
2
+
title: Create Modern SharePoint Sites using REST
3
+
description: Create and get the status of a new modern SharePoint site by using the REST interface.
4
4
ms.date: 4/19/2018
5
5
ms.prod: sharepoint
6
6
localization_priority: Priority
7
7
---
8
8
9
-
# Create SharePoint Communication site using REST
9
+
# Manage modern SharePoint sites using REST
10
10
11
11
This topic assumes that you are already familiar with the following topics:
12
12
13
13
-[Get to know the SharePoint REST service](../sp-add-ins/get-to-know-the-sharepoint-rest-service.md)
14
14
-[Complete basic operations using SharePoint REST endpoints](../sp-add-ins/complete-basic-operations-using-sharepoint-rest-endpoints.md)
15
15
16
-
This topic does not provide code snippets.
16
+
This topic does not provide code snippets. The REST examples below assume an HTTP Accept header of 'application/json;odata.metadata=none'.
17
17
18
18
The following REST commands are available for creating a modern SharePoint Communication site:
19
19
20
-
-**Create**. Create a new SharePoint Communication site.
21
-
-**Status**. Get the status of a SharePoint Communication site.
20
+
-**Create**. Create a new SharePoint site.
21
+
-**Delete**. Deletes a SharePoint site.
22
+
-**Status**. Get the status of a SharePoint site.
22
23
23
-
The URL for Communication site REST commands is based on `_api/sitepages/communicationsite`. For example, these are the endpoints for the REST commands listed earlier:
24
+
The base URL for the REST commands is `_api/SPSiteManager`.
> The `lcid` parameter is not currently supported with this API. You can currently only create English sites.
55
+
> If you use an app-only context to create the site collection the **owner property is required**. In other cases this is an optional property and will default to the user calling the REST endpoint.
52
56
53
-
New in this API is the concept of `SiteDesignID`. Much like the in-product site creation flow, the `SiteDesignID` parameter maps to the included site designs. They are:
57
+
58
+
The site design id can be retrieved by using the [Get-SPOSiteDesign](/powershell/module/sharepoint-online/get-spositedesign) (Microsoft SharePoint Online Management Shell) or [Get-PnPSiteDesign](/powershell/module/sharepoint-pnp/get-pnpsitedesign) (PnP PowerShell) cmdlets. If you want to apply an out-of-the-box available site design, use the following values:
0 commit comments