cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mgodby
Post Patron
Post Patron

Is there a way to set a sharepoint site as critical so owners cannot delete it?

Hello. I was able to create a site and add users to it through SharePoint http requests. 
I used the request here to create the SharePoint site: https://docs.microsoft.com/en-us/sharepoint/dev/apis/site-creation-rest
This is how my request looks like:

 

Screenshot 2021-06-07 185940.png

Is there a way to change the site so the site is flagged as critical and owners won't be able to delete? Is this possible through any requests? 
Thank you.

1 REPLY 1
swathirajan
Helper II
Helper II

My idea is, create a custom permissions (that doesn't allow deletion) and add the owners to the custom permission.

 

-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (20,951)