On this page

    Deny Nodes

    Use this API to deny nodes.

    Note:

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

    Syntax

    POST /api/v3/nodeCollections/blacklist
    

    Request Parameters

    ParameterDescription
    hostIt 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

    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

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