Use the DELETE method to delete a site with the following input:
-
Service Root URI: https://<Server Name>/<IIS Application Name>/sem/v4
-
Resource path: /Sites('<Site Name>')
Resource path strings are case-sensitive.
Sample URI
DELETE
https://WebApiServer1/sem-webapi/sem/v4/Sites('WebAPISite02')
The Header field of the deletion script must contain the key 'If-Match' with value
* or some other suitable value.