netlify teams:list discovers accessible teams
Introduced 2026-03-24 · score 0.92
HOW TO USE IT
When you need team slugs available to the authenticated user for project setup or deployment, run `netlify teams:list`. Add `--json` to output team data as JSON.
netlify teams:listnetlify teams:list --jsonWHY THIS HELPS
Find the team slugs available for a Netlify project setup or deployment.
BEFORE THIS CHANGE
The source says there was no programmatic way to discover teams.
REQUIREMENTS AND LIMITATIONS
- Version: 24.5.0
- --json: Output team data as JSON.
- --auth <token>: Netlify auth token; can run the command without logging in.
- --filter <application>: For monorepos, specify the application to run the command in.
- --debug: Print debugging information.
- The command lists teams the authenticated user has access to.
- The `auth` flag accepts a Netlify auth token and can be used to run the command without logging in.
FIRST-PARTY EVIDENCE
- https://github.com/netlify/cli/releases/tag/v24.5.0
- https://github.com/netlify/cli/pull/8083
- https://github.com/netlify/cli/blob/v24.5.0/docs/commands/teams.md
Check the installed version and the source before using it. Entry JSON