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_account_password_policy

delete_account_password_policy()

Deletes the password policy for the Amazon Web Services account. There are no parameters.

See also: AWS API Documentation

Request Syntax

response = client.delete_account_password_policy()
Returns
None

Exceptions

  • IAM.Client.exceptions.NoSuchEntityException
  • IAM.Client.exceptions.LimitExceededException
  • IAM.Client.exceptions.ServiceFailureException

Examples

The following command removes the password policy from the current AWS account:

response = client.delete_account_password_policy(
)

print(response)

Expected Output:

{
    'ResponseMetadata': {
        '...': '...',
    },
}