Skip to main content

astroctl_org

astroctl org

Organization information

Synopsis

Organization information

astroctl org [flags]

Examples


# Create an organization
astroctl org create --name "test-org"

# Get all the organizations
astroctl org get

# Get an organization by ID
astroctl org get --org-id <org-id>

# List all the organizations for the user
astroctl org list

# List all organizations in the system (super-admin only)
astroctl org list --all

# Add a user to an organization
astroctl org add-user --org-id <org-id> --user-id <user-id>

# Remove a user from an organization
astroctl org remove-user --org-id <org-id> --user-id <user-id>


Options

  -h, --help   help for org

Options inherited from parent commands

  -o, --output string   Output format (json|yaml) (default "yaml")

SEE ALSO