Skip to content
Open Console

tanomis agent disable

1 min readUpdated

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

Usage
tanomis agent disable NAME [flags]

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

Flag Type Description
--by string Identity recorded as the principal. Default local-dev.
--tenants string Comma-separated tenant ids to disable (no ‘all’).
Global flags
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.