Deny Nodes
Use this API to deny nodes.
Note:
Only an admin can call this API and ensure that you have admin privileges.
Syntax
Method and URLPOST /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 deny along with the URLs of the denied nodes (if any). You must add the existing denied nodes as calling this API allows the denied nodes if they are not added in the current API call. |
Request Example
Example requestcurl -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
Example response[
"localhost-2.c.dremio-1093.external",
"localhost-1.c.dremio-1093.external"
]
Was this page helpful?
Glad to hear it! Thank you for your feedback.
Sorry to hear that. Thank you for your feedback.