Skip to main content

astroctl_org_add-user

astroctl org add-user

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

astroctl org 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
--user-id string ID of the user

Options inherited from parent commands

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

SEE ALSO