Changes a site's own settings. Send only the fields to change. Users and call queues already filed under the site keep the values they copied from it when they were created. Requires Office Manager scope in the domain, Reseller scope for a domain in your territory, or Super User scope. A Site Manager can update only its own site.
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params
Body Params application/json
Examples
Responses
🟢202Accepted
application/json
The change is accepted and applied shortly after, so a read straight after it can still show the old state. synchronous is ignored.
Bodyapplication/json
🟠400Bad Request
🟠401Authentication Required
🟠403Forbidden
🟠404Record not found
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl--location--request PUT 'https://awqacore01.crexendocloud.com/ns-api/v2/domains//sites/Main Office' \
--header'Authorization: Bearer <token>' \
--header'Content-Type: application/json' \
--data'{
"synchronous": "no",
"site": "New York"
}'