vercel teams
The vercel teams command manages Teams: list teams you belong to, create a new team, switch between teams, invite Team Members, inspect SAML/SSO configuration, list members, and check team join-request status.
vercel team is an alias for the same command, and vercel switch is a top-level alias for vercel teams switch.
vercel teams listUsing the vercel teams command to list all teams you're a member of.
Aliases: ls.
List all teams you're a member of.
vercel teams list [options]| Option | Description |
|---|---|
-N, --next | Show the next page of results. Pass the timestamp (ms since the UNIX epoch) cursor. |
--format | Output format. Supports json. |
Paginate results (the value is the cursor in milliseconds since the UNIX epoch):
vercel teams ls --next 1584722256178Aliases: create.
Create a new team. The interactive flow prompts for slug and display name; in non-interactive mode you must pass both --slug and --name.
vercel teams add [options]| Option | Description |
|---|---|
--slug | Team URL slug (for example, acme for vercel.com/acme). Required in non-interactive mode. |
--name | Display name for the team. Required in non-interactive mode. |
Create a team interactively:
vercel teams addCreate a team non-interactively:
vercel teams add --slug acme --name "Acme Corp"Invite one or more new members to the current team. In non-interactive mode you must pass at least one email address.
vercel teams invite [email...]Invite interactively:
vercel teams inviteInvite multiple members (required form in non-interactive mode):
vercel teams invite abc@vercel.com xyz@vercel.comAliases: change.
Switch your CLI context to a different team. If the slug is omitted, the command is interactive. Available as the top-level alias vercel switch.
switch does not accept the global --token flag; use the global --scope flag if you need to override scope for a single command.
vercel teams switch [slug]Switch to a team by slug (if your team's URL is vercel.com/name, then name is the slug):
vercel teams switch acmeSwitch interactively:
vercel teams switchAliases: access-request.
Show the join-request status for the current team. Defaults to the authenticated user; pass a user ID to check another user's request.
vercel teams request [userId] [options]| Option | Description |
|---|---|
--format | Output format. Supports json. |
Status for your pending request:
vercel teams requestStatus for another user ID:
vercel teams request user_abc123Show the SAML/SSO configuration for the currently scoped team.
vercel teams sso [options]| Option | Description |
|---|---|
--format | Output format. Supports json. |
Human-readable SAML summary:
vercel teams ssoJSON output:
vercel teams sso --format jsonAliases: member.
List members for the currently scoped team.
vercel teams members [options]| Option | Description |
|---|---|
-N, --next | Show the next page of results. Pass the timestamp (ms since the UNIX epoch) cursor. |
--format | Output format. Supports json. |
# List team members
vercel teams members
# List team members as JSON
vercel teams members --format json
# Paginate results
vercel teams members --next 1584722256178The following global options can be passed when using the vercel teams command:
--cwd--debug--global-config--help--local-config--no-color--non-interactive--scope--team--token--version
For more information on global options and their usage, refer to the options section.
Was this helpful?