Blacklist Nodes

Use this API to blacklist nodes.

Note

Only an admin can call this API and ensure that you have admin privileges.

Syntax

POST /api/v3/nodeCollections/blacklist

Request Parameters

Parameter Description
host It is a mandatory parameter, which denotes a comma-separated list of URLs of nodes that you want to blacklist along with the blacklisted nodes' URLs (if any). You must add the existing blacklisted nodes as calling this API whitelists the blacklisted nodes if they are not added in the current API call.

Request Example

curl -X POST \
  http://localhost:9047/api/v3/blacklist \
  -H 'Authorization: "<$AuthToken>" \
  -d {"host":"<URL of the node1>,<URL of the node 2>,...,<URL of the node n>"}

Response

[
  "automaster-2.c.dremio-1093.external",
  "automaster-1.c.dremio-1093.external"
]