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
- astroctl - Astropulse Platform CLI tool
- astroctl org add-user - Add user to the organization (only for organization admin can add user to the organization)
- astroctl org create - Create a new organization
- astroctl org get - Get organization by Id
- astroctl org list - List all organizations
- astroctl org remove-user - Remove user from the organization (only for organization admin can remove user from the organization)