Skip to content

docs: Add organization management guide for CLI org commands#5353

Open
iris-clawd wants to merge 1 commit intomainfrom
docs/organization-management
Open

docs: Add organization management guide for CLI org commands#5353
iris-clawd wants to merge 1 commit intomainfrom
docs/organization-management

Conversation

@iris-clawd
Copy link
Copy Markdown
Contributor

@iris-clawd iris-clawd commented Apr 8, 2026

Summary

Adds documentation for managing organizations via the CrewAI CLI, covering:

  • crewai login — how authentication sets the active organization
  • crewai org list — listing all orgs a user belongs to
  • crewai org current — checking which org is currently active
  • crewai org switch <org_id> — switching to a different org

Motivation

Users who belong to multiple organizations (e.g., a personal org and a team org) may inadvertently publish tools or create deployments in the wrong organization. After running crewai login, the CLI sets the active org to the server default, which may not be the intended target org.

This guide makes the org management workflow explicit so users know to verify and switch their active org before performing org-scoped actions like crewai tool publish or crewai deploy create.

Changes

  • New page: docs/en/enterprise/guides/organization-management.mdx — full guide with command reference, practical step-by-step example, and explanation of how settings are stored
  • Updated: docs/en/enterprise/guides/tool-repository.mdx — added a tip to verify the active org before publishing
  • Updated: docs/docs.json — added the new page to the Enterprise > How-To Guides navigation

Note

Low Risk
Documentation-only changes that add a new guide and navigation link; risk is limited to potential broken doc links or navigation ordering issues.

Overview
Adds a new Enterprise guide, organization-management.mdx, documenting CLI organization workflows (crewai org current|list|switch) and how crewai login sets the active org, including a step-by-step publishing example.

Updates the Enterprise docs nav (docs.json) to include the new page and adds a tip in tool-repository.mdx pointing users to verify/switch org before publishing tools.

Reviewed by Cursor Bugbot for commit cf49dd4. Bugbot is set up for automated code reviews on this repo. Configure here.

Add documentation for managing organizations via the CrewAI CLI:
- crewai login (and how it sets the active org)
- crewai org list
- crewai org switch <org_id>
- crewai org current

Includes a practical example for verifying the active org before
publishing tools, and adds a tip to the Tool Repository guide
linking to the new page.

Closes common confusion when users belong to multiple orgs and
publish tools to the wrong organization.
@github-actions github-actions bot added the size/M label Apr 8, 2026
@mintlify
Copy link
Copy Markdown

mintlify bot commented Apr 8, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
crewai 🟢 Ready View Preview Apr 8, 2026, 5:00 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant