---
title: "oz0 node"
description: "Manage nodes: list, accept, reject, block, unblock, drain, undrain, purge, delete, upgrade"
canonical_url: "https://docs.oz0.ai/reference/cli/oz0/node"
---
# oz0 node

> Manage nodes: list, accept, reject, block, unblock, drain, undrain, purge, delete, upgrade

For: Operators and developers looking up a command.

Manage nodes: list, accept, reject, block, unblock, drain, undrain, purge, delete, upgrade

## Usage

```bash
oz0 node [command]
```

## Subcommands

- [`accept`](https://docs.oz0.ai/reference/cli/oz0/node/accept)
- [`block`](https://docs.oz0.ai/reference/cli/oz0/node/block)
- [`delete`](https://docs.oz0.ai/reference/cli/oz0/node/delete)
- [`drain`](https://docs.oz0.ai/reference/cli/oz0/node/drain)
- [`list`](https://docs.oz0.ai/reference/cli/oz0/node/list)
- [`purge`](https://docs.oz0.ai/reference/cli/oz0/node/purge)
- [`reject`](https://docs.oz0.ai/reference/cli/oz0/node/reject)
- [`runtimes`](https://docs.oz0.ai/reference/cli/oz0/node/runtimes)
- [`sandbox-optout`](https://docs.oz0.ai/reference/cli/oz0/node/sandbox-optout)
- [`show`](https://docs.oz0.ai/reference/cli/oz0/node/show)
- [`unblock`](https://docs.oz0.ai/reference/cli/oz0/node/unblock)
- [`undrain`](https://docs.oz0.ai/reference/cli/oz0/node/undrain)
- [`upgrade`](https://docs.oz0.ai/reference/cli/oz0/node/upgrade)

## Inherited flags

<table>
<thead>
  <tr>
    <th>
      Flag
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        --context
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        $OZ0_CONTEXT or &lt;config dir>/orchestrator-zero/context.json
      </code>
    </td>
    
    <td>
      CLI context file written by server init
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --log-level
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        info
      </code>
    </td>
    
    <td>
      log level: debug, info, warn or error
    </td>
  </tr>
</tbody>
</table>

See [all `oz0` commands](https://docs.oz0.ai/reference/cli/oz0) and the [global flags](https://docs.oz0.ai/reference/cli/oz0#global-flags).


## Sitemap

See the full [sitemap](https://docs.oz0.ai/sitemap.md) for all pages.
