2 Comments
If the member account is created via aws organizations and has a dummy email you cannot delete the account from console. Because you need to be root to manage the account. In this case:
- Either from console or CLI: Switch role and go into the member account and make sure all resources are deleted, or OK to be deleted.
- Go back to the management account and close the member account via CLI:
aws organizations close-account --account-id 123456789012
- Verify the result, either from CLI or from Organizations console. The member account must have gone into "Suspended" state.
Hint: aws organizations close-account seems to be added recently. Make sure your aws CLI is up to date
replied 6 months ago
Thank you for your comment. We'll review and update the Knowledge Center article as needed.
Relevant content
- Accepted Answerasked 4 months ago
- asked 2 years ago
- Accepted Answerasked 2 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 8 months ago