When publishing Project files to Project Server, there is an option to create a related SharePoint site.
I have noticed that when deleting the Project file that was published, the SharePoint site will also be deleted.
Is there a way to create a related SP site on initial publish, but then break the connection so that if the Project file is deleted, the SP site is not deleted?
This is SP2016 on-prem.
As asked in the comments, the way I am deleting the files is through the
/_api/ProjectServer REST endpoint. So I guess that then begs the question - are there any kind of deletion options in REST that would instruct Project Server to delete the file but not the SharePoint site?