zitadel invitation get
Read one invitation by id.
Usage
npx @zitadel/cli@latest invitation get <invitation_id> [flags]Arguments
| Argument | Description |
|---|---|
<invitation_id> | The invitation to read. Required. |
Flags
| Flag | Description |
|---|---|
--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. |
-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 get inv_01JCQK5R7T9V1X3Z5B7D9F1H3JAPI
It calls Get an invitation, GET /invitations/{invitation_id}, in the Invitations API.
Was this helpful?