oz0 account remove

Usage and flags for oz0 account remove.

For: Operators and developers looking up a command.

End every session, delete the account's links to identity providers and chat identities, its memberships and team memberships, revoke the MCP clients it approved, and remove the account. The tenant API keys it created are revoked, or kept and listed for the tenant's admins where the tenant chose so (tenant removed-account-keys). Removing it again changes nothing. user remove takes the same steps by name.

Usage

oz0 account remove [flags]

Flags

FlagTypeDefaultDescription
--jsonboolprint JSON instead of a table
--providerstringthe identity provider's ID, as oidc list shows it
--subjectstringthe provider's immutable ID for the person (its sub)

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