Skip to main content

astroctl_org_remove-user

astroctl org remove-user

Remove user from the organization (only for organization admin can remove user from the organization)

astroctl org remove-user [flags]

Examples


# Remove user from the organization
astroctl org remove-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 remove-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