node DELETE

Removes a ColumnStore node

See CMAPI for detail on REST API endpoint, required headers, and other available actions.

DETAILS

Upon successful node DELETE call CMAPI configures MariaDB Enterprise ColumnStore to remove the specified node.

Call made via HTTPS DELETE, with authentication via shared secret using the x-api-key header.

JSON data required for this call:

Key

Value

timeout

Maximum time in seconds to wait for completion of add-node operation

node

IP address of the node to remove

EXAMPLES

Executing cURL Manually

CMAPI calls can be made from the command-line using cURL.

Replace the CMAPI_API_KEY and sample data in the following example:

$ curl -k -s -X DELETE https://mcs1:8640/cmapi/0.4.0/cluster/node \
   --header 'Content-Type:application/json' \
   --header 'x-api-key:<CMAPI_API_KEY>' \
   --data '{"timeout": 20, "node": "192.0.2.2"}' \
   | jq .

In this example, jq produces human-readable output from the returned JSON response:

{
  "timestamp": "2020-10-28 00:42:42.796050",
  "node_id": "192.0.2.2"
}