Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_organization

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