aws organizations close-account

From wikieduonline
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]

See also[edit]

Advertising: