Skip to main content
Team commands let you invite members to your workspace, list current members and pending invitations, change a member’s role and post-approval setting, remove members, and cancel invitations.
All commands accept the global flags: --json (default) / --table, --verbose, --api-key <key>, and --api-url <url>. You can also authenticate with the SOME_API_KEY and SOME_API_URL environment variables.
Roles are member or owner. Post approval is requires_approval or auto_approve and controls whether the member’s posts must be approved before they publish.

teams:list

List the members of your workspace.
Examples

teams:invite

Invite a new team member by email.
The --role value is validated against member / owner and lowercased before it is sent. If --post-approval is omitted, the backend applies its default approval setting.
Examples

teams:invitations

List pending team invitations.
Examples

teams:update

Update a team member’s role and/or post-approval setting. You must provide --role, --post-approval, or both — the command fails if neither is supplied.
string
required
The member’s ID or email address.
When you change only --post-approval (without --role), the CLI first looks up the member in your team list to preserve their existing role, since the underlying endpoint always requires a role. Both --role and --post-approval values are validated before the request is sent.
Examples

teams:remove

Remove a team member from the workspace. You’ll be asked to confirm unless you pass -y, --yes.
string
required
The member’s ID or email address.
Examples

teams:cancel-invite

Cancel a pending invitation by ID or email. You’ll be asked to confirm unless you pass -y, --yes.
string
required
The invitation’s ID or email address.
Examples