Update Site

This endpoint is used to update a site.

Controlled Errors

Error CodeError Message
error_site_not_foundThe site was not found.
error_site_name_emptyThe site name cannot be null or empty.
error_timezone_not_foundThe timezone with the provided Id was not found.
error_account_settings_not_updated_in_devicesThe attempted change in timezone was unable to be communicated to the devices.
error_site_update_errorFailed to update the site.

Any status codes returned that are not provided here are generic status codes that can be found here.

Body Params
int64
required

The Id of the site to update.

string
required

The name of the site.

string

The timezone Id for that site.

string

The description of the site.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain