---
title: "oz0 tenant labels egress"
description: "Usage and flags for oz0 tenant labels egress."
canonical_url: "https://docs.oz0.ai/reference/cli/oz0/tenant/labels/egress"
---
# oz0 tenant labels egress

> Usage and flags for oz0 tenant labels egress.

For: Operators and developers looking up a command.

For a job at a level or above, a harness session, a remote session and a tool server's own sandbox reach only the hosts on the list of the highest such level, and only those the other egress lists allow too: the list narrows, it never adds a host. An empty list allows no host. Calls through the tool gate are decided by rules (tenant tool-policy set --label-egress).

Adding a host to the list in force at any level, dropping a !entry, or removing a level's list loosens.

## Usage

```bash
oz0 tenant labels egress [command]
```

## Subcommands

- [`remove`](https://docs.oz0.ai/reference/cli/oz0/tenant/labels/egress/remove)
- [`set`](https://docs.oz0.ai/reference/cli/oz0/tenant/labels/egress/set)

## 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.
