Skip to content

Function: changeNodeStateToOffline() ​

ts
function changeNodeStateToOffline(
   client, 
   parameters, 
   options?
): Promise<void>;

Defined in: src/server/api/cluster.ts:20

Change the node's state to offline if the node is reporting as active, but is not alive.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ nodeId: string; }-
parameters.nodeIdstringID of the node to change state
options?RequestOptions-

Returns ​

Promise<void>