Skip to main content

astroctl organization transfer-owner

Make another member the owner of the active organization

Synopsis​

Make another member the owner of the active organization. You stay a member as admin, and the new owner can then remove you. The new owner must already be a member with the global admin role. A default organization cannot be transferred.

Terminal
astroctl organization transfer-owner [flags]

Examples​

Terminal

# Transfer ownership (shows the new owner and asks you to type their email)
astroctl org transfer-owner --user-id 3f1c2a9e-7b4d-4e2a-9c61-0d5e8f7a1b23

# Transfer without asking, as in a script
astroctl org transfer-owner --user-id 3f1c2a9e-7b4d-4e2a-9c61-0d5e8f7a1b23 --yes

Options​

Terminal
-h, --help help for transfer-owner
--user-id string ID of the member who becomes the owner (required)
-y, --yes Transfer without asking

Options inherited from parent commands​

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

SEE ALSO​