Skip to main content
Version: v5.6.1

opschain admin authz policies list

Included from Basic tier

Lists the authorisation policies visible to the logged-in user, one row per policy with its name, whether it is a system policy, its rule and assignee counts, description and id. Prints no authorisation policies when there are none. It takes no flags of its own; -o, --output json|yaml emits the raw JSON:API resources instead of the table.

opschain admin authz policies list
NAME SYSTEM RULES ASSIGNEES DESCRIPTION ID
ops-team false 2 3 Operations access 0199c1…

Exit codes: 0 on success, 1 when the server call fails, 2 with no server target (see opschain docs cli/admin-authz-policies for the shared named error).

Flags​

FlagMeaning
--filter <column>[!]=<value>Keep only rows matching the term (repeatable; terms AND). Columns are the printed table headers lowercased (spaces/dashes fold to _); * wildcards match the whole cell case-insensitively, != negates, commas mean any-of. Applied client-side. Grammar: opschain docs cli.

See also​

  • opschain docs cli/admin-authz-policies-show — a policy's full rules and assignments.