Skip to main content
PATCH
Deactivate or reactivate 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

Deactivation status

Request to deactivate or reactivate a serverhost

deactivated
boolean
Example:

true

Response

OK

Response for serverhost deactivation operation

deactivated
boolean
Example:

true

deactivated_at
string
Example:

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

host_name
string
Example:

"ServerHost-1"

message
string
Example:

"Serverhost deactivated successfully"

serverhost_id
string
Example:

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