---
title: "ezgh fleets nodes deregister"
description: "Remove a node from the project."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh fleets nodes deregister

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh fleets nodes deregister <node> [--yes] [flags]
```

Remove a node: its sessions end and runs skip it. The agent on the machine stops being able to connect; uninstall it there. It asks first on a terminal; `--yes` confirms otherwise.

Part of [`ezgh fleets nodes`](/cli/reference/fleets-nodes).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-y`, `--yes` | boolean |  | don't ask for confirmation |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/fleets-nodes-deregister/index.mdx
