aws organizations close-account
Jump to navigation
Jump to search
aws organizations close-account --account-id XXXXXXXX && aws organizations list-accounts { "Accounts": [ { "Id": "1111111111111", .../... "Status": "ACTIVE", "JoinedMethod": "INVITED", "JoinedTimestamp": "2021-08-17T09:29:07.741000+02:00" }, { "Id": "22222222222222", .../... "Name": "test", "Status": "SUSPENDED", "JoinedMethod": "CREATED", "JoinedTimestamp": "2024-02-20T16:35:44.825000+01:00" } ] }
aws organizations close-account --account-id XXXXXXXX (no output)
Related[edit]
aws organizations create-accountaws organizations list-accounts- MasterCannotLeaveOrganizationException
See also[edit]
aws organizations close-account- AWS accounts, alias:
aws organizations [ describe-account | move-account | list-accounts | create-account | close-account | account-id | attach-policy], AWS IAM Dashboard, AWS Management account, Root account - AWS Organizations:
aws organizations(describe-account | list-roots|list-accounts | list-delegated-administrators | create-account | describe-organizations |,enable-all-features | enable-aws-service-access)OrganizationAccountAccessRole
Advertising: