Skip to main content
PUT
Update a serverhost

Headers

X-Network-ID
string
required

Network ID

X-Network-Credential
string
required

Network Credential (network password or JWT)

Query Parameters

serverhost_id
string
required

Serverhost ID

Body

application/json

Serverhost details

Request to update a serverhost

host_name
string
Example:

"ServerHost-1"

maximum_memory
integer
Example:

8192

serverhost_access_mode
string
Example:

"MANAGED_GATEWAY"

serverhost_custom_url
string
Example:

"https://files.example.com"

Response

OK

Response for updating a serverhost

auto_update_targeted_version
boolean
Example:

true

created_at
string
Example:

"2023-01-01T12:00:00Z"

deactivated
boolean
Example:

false

deactivated_at
string
Example:

"2023-01-01T12:00:00Z"

host_name
string
Example:

"ServerHost-1"

installed_java_versions
integer[]
Example:
last_keep_alive
string
Example:

"2023-01-01T12:00:00Z"

maximum_memory
integer
Example:

8192

message
string
Example:

"Serverhost updated successfully"

network_id
string
Example:

"123e4567-e89b-12d3-a456-426614174000"

serverhost_access_mode
string
Example:

"MANAGED_GATEWAY"

serverhost_custom_url
string
Example:

"https://files.example.com"

serverhost_gateway_last_connected_at
string
Example:

"2023-01-01T12:00:00Z"

serverhost_gateway_slug
string
Example:

"9f1f7f2c9a224bb29f9e0f7e5b2a070a"

serverhost_id
string
Example:

"123e4567-e89b-12d3-a456-426614174000"

started_at
string
Example:

"2023-01-01T12:00:00Z"

targeted_version
string
Example:

"1.2.3"

updated_at
string
Example:

"2023-01-01T12:00:00Z"