Skip to main content

Update the company Timezone for servers

Assigns company's timezone as the timezone for servers with no packages installed

Path Parameters
  • companyId int32 required

    Id of the company whose timezone is used to update timezone of servers (with no packages)

Request Body
  • clients object[]
  • id int32
  • name string
  • updateAll boolean

    Boolean which determines if all servers(with no package) should be updated with the company timezone.

Responses

Success


Schema
  • errorMessage string
  • errorCode int32
PUT /v4/company/:companyid/servers/timezone    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://localhost/webconsole/api
token
companyId — path required
Body
{
"clients": [
{
"id": 0,
"name": "string"
}
],
"updateAll": true
}
curl -L -X PUT 'https://localhost/webconsole/api/V4/Company/:companyId/Servers/Timezone' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clients": [
{
"id": 0,
"name": "string"
}
],
"updateAll": true
}'