node DELETE
This page is part of MariaDB's Documentation.
The parent of this page is: CMAPI for MariaDB Enterprise ColumnStore
Topics on this page:
Overview
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 |
---|---|
| Maximum time in seconds to wait for completion of |
| 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_
$ 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"
}