Docs

zitadel invitation list

List the project's invitations, newest first.

Usage

npx @zitadel/cli@latest invitation list [flags]

Flags

FlagDescription
--status <value>Only invitations with this status; repeat it for several. Without it, every status but accepted. One of pending, accepted, rejected, expired. Can be given more than once.
--type <value>Only invitations of this type. One of project_member, team_member.
--limit <value>Page size (server default 20, max 100). From 1 to 100.
--page-token <value>Continue from a previous page's next_page_token.
-a, --allFetch every page instead of one. Not with --page-token.
--fields <value>Fields to show and to return under --json, comma-separated dot-paths (e.g. id,attributes.email). Defaults to the command's own columns.
--plainTab-separated rows with no header, for piping. Implied when stdout is not a terminal.
-s, --server <value>Override the resolved server URL.
-e, --env <value>Environment to run against, e.g. production. Defaults to ZITADEL_ENV, then the hosting platform's build (VERCEL_ENV, or Netlify's CONTEXT), then development.
--env-file <value>Read ZITADEL_* values from this file ahead of the process environment. A relative path is read from the current directory, not from --cwd. Cannot be combined with --env.

It also takes the global flags.

Examples

npx @zitadel/cli@latest invitation list
npx @zitadel/cli@latest invitation list --status pending
npx @zitadel/cli@latest invitation list --status accepted --status pending
npx @zitadel/cli@latest invitation list --all --json

API

It calls List invitations, GET /invitations, in the Invitations API.

Was this helpful?