Organizations / Client / delete_organization

delete_organization#

Organizations.Client.delete_organization()#

Deletes the organization. You can delete an organization only by using credentials from the management account. The organization must be empty of member accounts.

See also: AWS API Documentation

Request Syntax

response = client.delete_organization()
Returns:

None

Exceptions

  • Organizations.Client.exceptions.AccessDeniedException

  • Organizations.Client.exceptions.AWSOrganizationsNotInUseException

  • Organizations.Client.exceptions.ConcurrentModificationException

  • Organizations.Client.exceptions.InvalidInputException

  • Organizations.Client.exceptions.OrganizationNotEmptyException

  • Organizations.Client.exceptions.ServiceException

  • Organizations.Client.exceptions.TooManyRequestsException