Difference between revisions of "Aws organizations close-account"
Jump to navigation
Jump to search
(Created page with "{{lc}} == See also == * {{AWS accounts}} * {{aws organizations}} Category:AWS") |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | * https://awscli.amazonaws.com/v2/documentation/api/latest/reference/organizations/close-account.html | ||
+ | [[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 == | ||
+ | * <code>[[aws organizations create-account]]</code> | ||
+ | * <code>[[aws organizations list-accounts]]</code> | ||
== See also == | == See also == |
Latest revision as of 15:45, 20 February 2024
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]
See also[edit]
- AWS accounts, alias:
aws organizations [ describe-account | move-account | list-accounts | create-account | close-account | account-id | attach-policy
], AWS IAM Dashboard - AWS Organizations:
aws organizations
(describe-account | list-roots
|list-accounts | list-delegated-administrators | create-account | describe-organizations |
enable-all-features | enable-aws-service-access
)
Advertising: