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)
- application/json
Request Body
clients object[]
- updateAll boolean
Boolean which determines if all servers(with no package) should be updated with the company timezone.
Responses
- 200
Success
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
PUT /v4/company/:companyid/servers/timezone
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
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
}'
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
}'
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
}'
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
}'
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
}'
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
}'
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
}'