The clusterUnregisterNode() GraphQL mutation may be used to unregister a node from a cluster.

For information on clusters, see the Cluster Management documentation page. You may also want to look at the LogScale Logical Architecture page in the Training section.

Syntax

Below is the syntax for the clusterUnregisterNode() mutation field:

graphql
clusterUnregisterNode(
      force: boolean!
      nodeID: integer!
   ): UnregisterNodeMutation!

The force is given with a value of true, along with nodeID and its unique identifier to force the removal of a node.

Returned Datatypes

The returned datatype UnregisterNodeMutation has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: UnregisterNodeMutation

ParameterTypeRequired[a]DefaultDescription
groupClusteryes The unassigned cluster (see Cluster Table).

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.