Skip to main content

astroctl_organization_add-user

astroctl organization add-user

Add user to the organization (only for organization admin can add user to the organization)

astroctl organization add-user [flags]

Examples


# Add user to the organization
astroctl org add-user --org-id "org-id" --user-id "user-id"

Run the following command to get the user id and org id
astroctl whoami


Options

-h, --help help for add-user
--org-id string ID of the organization (required)
--user-id string ID of the user (required)

Options inherited from parent commands

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

SEE ALSO