Skip to main content

dismiss_node

Function dismiss_node 

Source
pub async fn dismiss_node(
    config: &DaemonConfig,
    node_id: u32,
) -> Result<RemoveNodeResult>
Expand description

Dismiss a node — remove it from the registry — via the daemon REST API.

Intended for evicted nodes (whose data directory has already been deleted), but the daemon will remove any non-running node. Running nodes are rejected with a conflict error.