Skip to main content

astroctl_organization_remove-user

astroctl organization remove-user

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

astroctl organization 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 (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