On this page

    Blacklist Nodes

    Use this API to blacklist nodes.


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


    POST /api/v3/nodeCollections/blacklist

    Request Parameters

    hostIt 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>"}