# tanomis agent disable

Reference for tanomis agent disable: remove an agent's enablement for specific tenants (inverse of enable).

Generated from the <code>tanomis</code> command tree on 2026-10-01. Flags and defaults match the binary; run <code>tanomis agent disable --help</code> for the version you have installed.

## Usage

```text title="Usage"
tanomis agent disable NAME [flags]
```

## Description

Stop serving an agent to the named tenants by removing their enablement rows — the
inverse of `tanomis agent enable`.

`--tenants` is a comma-separated list. There is no 'all' (removing every tenant's
enablement must be explicit). A tenant that isn't enabled is reported and skipped, so
re-running is safe (idempotent). The agent and its versions are untouched; only the
per-tenant enablement is removed (an audit event is recorded).

## Flags

| Flag | Type | Description |
|---|---|---|
| `--by` | string | Identity recorded as the principal. Default `local-dev`. |
| `--tenants` | string | Comma-separated tenant ids to disable (no 'all'). |

<details>
<summary>Global flags</summary>

| Flag | Type | Description |
|---|---|---|
| `--config` | string | Config file path. |
| `--context` | string | Config context to use. |
| `-o`, `--output` | string | Output format: table\|json. |
| `--tenant` | string | Tenant id (X-Tenant-ID). |
| `--verbose` | bool | Verbose output. |

</details>
