This request allows you to update your site's backup location.
Use the PATCH method to update a site with the following input:
-
Service Root URI: https://<Server Name>/<IIS Application Name>/sem/v3
-
Resource path: /Sites('<Site Name>')
Resource path strings are case-sensitive.
Sample URI
PATCH
https://WebApiServer1/sem-webapi/sem/v3/Sites('WebAPISite01')
The Header field of the update script must contain the key 'If-Match' with value * or some other suitable value.
Sample JSON request
Backslashes used in paths must be doubled as shown below.
{
"SiteBackupLocationPath": "\\\\sem-sites\\WebAPI_Sites\\WebAPISite01\\Backups1",
"SiteRoleTemplateLocationPath": "\\\\sem-sites\\WebAPI_Sites\\WebAPISite01\\Roles1"
}
JSON request parameters
The table shows the list of site parameters that can be updated.
Parameter |
Value |
Description and Comments |
---|---|---|
SiteBackupLocationPath |
<path for site backup file location> |
|
SiteRoleTemplateLocationPath |
<path for site role templates location> |
|
SiteAdminUserGroup |
<Domain Name/User Group> |
|
SiteAdminUserGroupToEachPlant |
true / false |
What do you want to do next?