IAM / Client / delete_account_password_policy

delete_account_password_policy#

IAM.Client.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': {
        '...': '...',
    },
}