CLI & APICommand reference
stackblaze members
Organization members, invitations and roles
Usage: stackblaze members|member [options] [command]
Organization members, invitations and roles
Options:
-h, --help Print help
Commands:
list|ls [options] List members of the current organization and
their roles
invite [options] <email> Invite someone by email (the invitation link is
emailed)
remove|rm [options] <user> Remove a member (id, email or username); their
account is kept
role [options] <user> <role> Change a member's organization-wide role
roles [options] List the roles you can assign
invites [options] Pending invitations (default: list)
help [command] Print this message or the help of the given
subcommand(s)members list
Usage: stackblaze members list|ls [options]
List members of the current organization and their roles
Options:
--api-url <url> StackBlaze API base URL (env STACKBLAZE_API_URL)
--token <token> API token, sb_pat_... (env STACKBLAZE_TOKEN)
--json Output JSON (same as -o json) (default: false)
-o, --output <format> Output format: text or json (choices: "text", "json")
-h, --help Print helpExample
List the organization's members with their role and teams:
stackblaze members list┌────────────────────────┬────────────────────────┬───────┬──────────────────────────────────┬───────────────────────────┐
│ User │ Email │ Role │ Teams │ ID │
├────────────────────────┼────────────────────────┼───────┼──────────────────────────────────┼───────────────────────────┤
│ <email> │ <email> │ admin │ admin (admin), all users (admin) │ cmtxmgub2002cvq014h3z0qeh │
└────────────────────────┴────────────────────────┴───────┴──────────────────────────────────┴───────────────────────────┘With --json:
stackblaze members list --json[
{
"userId": "cmtxmgub2002cvq014h3z0qeh",
"username": "<email>",
"email": "<email>",
"name": null,
"role": "admin",
"teams": [
{
"team": "admin",
"role": "admin"
},
{
"team": "all users",
"role": "admin"
}
]
}
]members invite
Usage: stackblaze members invite [options] <email>
Invite someone by email (the invitation link is emailed)
Options:
--api-url <url> StackBlaze API base URL (env STACKBLAZE_API_URL)
--token <token> API token, sb_pat_... (env STACKBLAZE_TOKEN)
--json Output JSON (same as -o json) (default: false)
--role <role> Role name or id (see `members roles`)
-o, --output <format> Output format: text or json (choices: "text", "json")
-h, --help Print helpmembers remove
Usage: stackblaze members remove|rm [options] <user>
Remove a member (id, email or username); their account is kept
Options:
--api-url <url> StackBlaze API base URL (env STACKBLAZE_API_URL)
--token <token> API token, sb_pat_... (env STACKBLAZE_TOKEN)
--json Output JSON (same as -o json) (default: false)
-y, --yes Skip confirmation prompt (default: false)
-o, --output <format> Output format: text or json (choices: "text", "json")
-h, --help Print helpmembers role
Usage: stackblaze members role [options] <user> <role>
Change a member's organization-wide role
Options:
--api-url <url> StackBlaze API base URL (env STACKBLAZE_API_URL)
--token <token> API token, sb_pat_... (env STACKBLAZE_TOKEN)
--json Output JSON (same as -o json) (default: false)
-o, --output <format> Output format: text or json (choices: "text", "json")
-h, --help Print helpmembers roles
Usage: stackblaze members roles [options]
List the roles you can assign
Options:
--api-url <url> StackBlaze API base URL (env STACKBLAZE_API_URL)
--token <token> API token, sb_pat_... (env STACKBLAZE_TOKEN)
--json Output JSON (same as -o json) (default: false)
-o, --output <format> Output format: text or json (choices: "text", "json")
-h, --help Print helpExample
List the roles you can give a member with members invite --role or members role:
stackblaze members roles┌────────┬───────────────────────────────────────────────────────────┬───────────────────────────┐
│ Role │ Description │ ID │
├────────┼───────────────────────────────────────────────────────────┼───────────────────────────┤
│ admin │ Tenant administrator — full access within their tenant │ cmt4z5di6000jsc01q1dra1cv │
├────────┼───────────────────────────────────────────────────────────┼───────────────────────────┤
│ member │ Tenant member — deploy and manage apps within their teams │ cmt4z5djl000usc01x3pjqjzk │
├────────┼───────────────────────────────────────────────────────────┼───────────────────────────┤
│ guest │ Tenant guest — read-only │ cmt4z5drp0015sc019aunpbvp │
└────────┴───────────────────────────────────────────────────────────┴───────────────────────────┘members invites
Usage: stackblaze members invites [options] [command]
Pending invitations (default: list)
Options:
-h, --help Print help
Commands:
list|ls [options] List pending invitations (--all: accepted, revoked
and expired too)
revoke [options] <invite> Revoke a pending invitation (id or email)
help [command] Print this message or the help of the given
subcommand(s)members invites list
Usage: stackblaze members invites list|ls [options]
List pending invitations (--all: accepted, revoked and expired too)
Options:
--api-url <url> StackBlaze API base URL (env STACKBLAZE_API_URL)
--token <token> API token, sb_pat_... (env STACKBLAZE_TOKEN)
--json Output JSON (same as -o json) (default: false)
--all Include invitations that are no longer pending
(default: false)
-o, --output <format> Output format: text or json (choices: "text", "json")
-h, --help Print helpExample
List pending invitations. Here there are none, so --all also shows the accepted and revoked ones:
stackblaze members invites list
stackblaze members invites list --allNo pending invitations (--all shows accepted/revoked ones too).
┌───────────────────────────┬────────────────────────┬────────┬─────────┬────────────┐
│ ID │ Email │ Role │ Status │ Expires │
├───────────────────────────┼────────────────────────┼────────┼─────────┼────────────┤
│ cmwuv73he005ut301eyy7c06u │ <email> │ member │ revoked │ 2026-12-01 │
└───────────────────────────┴────────────────────────┴────────┴─────────┴────────────┘members invites revoke
Usage: stackblaze members invites revoke [options] <invite>
Revoke a pending invitation (id or email)
Options:
--api-url <url> StackBlaze API base URL (env STACKBLAZE_API_URL)
--token <token> API token, sb_pat_... (env STACKBLAZE_TOKEN)
--json Output JSON (same as -o json) (default: false)
-y, --yes Skip confirmation prompt (default: false)
-o, --output <format> Output format: text or json (choices: "text", "json")
-h, --help Print help