oz0 plugin remove

Uninstall a plugin; nodes stop it and delete it.

For: Operators and developers looking up a command.

Uninstall a plugin; nodes stop it and delete it. The removal is refused while anything depends on the plugin (other plugins' grants or uses:, routines, other plugins' flows, running jobs, its records), and the refusal lists them with their owners (oz0 plugin dependents shows the same). Retire it first so nothing new starts to use it, or remove it anyway with --force and a --reason, which the audit log keeps with the list; running jobs are then cancelled.

What named its agents and flows is listed as they go: API key scopes and agent grants marked, routines paused, keep-for rules and legal bases dropped, rules to edit.

Removing a set removes, newest first, the members it installed that nothing else uses (no other plugin's grant or uses:, no other set), each checked and audited as a removal that names the set; a member that was installed before the set, or that something uses, stays, and the answer says why.

Usage

oz0 plugin remove <name> [flags]

Flags

FlagTypeDefaultDescription
--forceboolremove it although others depend on it (takes --reason)
--reasonstringwhy a forced removal goes past its dependents (at most 500 characters; default $OZ0_REASON)
--tenantstringdefaulttenant

Inherited flags

FlagTypeDefaultDescription
--contextstring$OZ0_CONTEXT or <config dir>/orchestrator-zero/context.jsonCLI context file written by server init
--log-levelstringinfolog level: debug, info, warn or error

See all oz0 commands and the global flags.

On this page
Copyright © 2026