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
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (1,588)