Edit a site
Edit an existing site.
Request
Security
| Any | Super User | System Admin | Security Admin | Operator |
|---|---|---|---|---|
| superUser | systemAdmin |
HTTP method
POST /manager/api/{apiResponseType}/1.0/editSite.adm HTTP/1.1 Host:{manager.dsnet}
id={siteId}&abbreviation={abbr}&description={description}
Curl method
curl -u {admin}:{password}
-k ”https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/editSite.adm“
-d ”id={siteId}&abbreviation={abbr}&description={description}“Parameters
| Parameter | Type | Usage | Default | Description |
|---|---|---|---|---|
| id | Long | Required |
ID of the site that is being modified. |
|
| name | String | Optional |
Unique new name of site. |
|
| description | String | Optional |
Description of site. |
|
| abbreviation | String | Optional |
Abbreviation of site; must be fewer than 12 characters. |
|
| company | String | Optional |
Company field of site. |
|
| address | String | Optional |
Address of site. |
|
| phone | String | Optional |
Telephone number that is related to site. |
|
| latitude | String | Longitude |
Latitude of this site's location. |
|
| Longitude | String | Latitude |
Longitude of the site's location. |
|
| ldapServiceName | String |
The site-specific code that maps to the site's name in Active Directory. |
||
| country | String | Optional | The 2-character ISO-3166 country code where this site is located |
Response
Returns success or failure status.
JSON response example
Default JSON success or failure response that is shown in Default JSON success response and Default JSON failure response.
Parameters
None other than the default response parameters shown in Common response parameters.