sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

REST API Documentatinon missing SPSiteManager endpoints

Open baywet opened this issue 8 years ago • 5 comments

There are a least two undocumented endpoints https://tenant.sharepoint.com/_api/SPSiteManager/Create and https://baywet.sharepoint.com/_api/SPSiteManager/Delete


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

baywet avatar Oct 10 '18 14:10 baywet

The Create endpoint allows you to create site collections, example payload:

{"request":{"__metadata":{"type":"Microsoft.SharePoint.Portal.SPSiteCreationRequest"},"WebTemplate":"SITEPAGEPUBLISHING#0","Title":"testcreationapi","Url":"https://tenant.sharepoint.com/sites/testcreationapi","Description":"","Classification":"","Lcid":1033,"ShareByEmailEnabled":false,"WebTemplateExtensionId":"00000000-0000-0000-0000-000000000000"}}

baywet avatar Oct 10 '18 14:10 baywet

Thanks @baywet , we have contacted this to the content team, and will sync up this to you.

KingKangMSFT avatar Oct 11 '18 06:10 KingKangMSFT

Hi @baywet,

You can find the documentation of this REST API on the link below: https://docs.microsoft.com/en-us/sharepoint/dev/apis/site-creation-rest

DRamalho92 avatar Oct 04 '19 10:10 DRamalho92

Thanks for the follow up @DRamalho92 ! Thanks for documenting the endpoints @mbratukha @bcameron1231 @erwinvanhunen ! Closing.

baywet avatar Oct 04 '19 12:10 baywet

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 26 '20 12:01 msft-github-bot