oz0 account memberships

Usage and flags for oz0 account memberships.

For: Operators and developers looking up a command.

Replace the memberships given through this provider with --member TENANT:ROLE (repeat it; ROLE is reader, operator, admin or owner, with +content or -content to change the role's default permission to see content). Memberships anyone else made, by hand or by group rules, stay and are listed.

A provisioner gives a role only in a tenant that allowed it, up to the role allowed there (oz0 tenant provisioner allow); one it may not give refuses the whole request, and removing what it gave is never refused.

Usage

oz0 account memberships [flags]

Flags

FlagTypeDefaultDescription
--jsonboolprint JSON instead of a table
--memberstringArrayTENANT:ROLE, such as acme:operator (repeat it)
--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