QuickSight.Client.delete_account_subscription(**kwargs)¶Use the DeleteAccountSubscription operation to delete an Amazon QuickSight account. This operation will result in an error message if you have configured your account termination protection settings to True . To change this setting and delete your account, call the UpdateAccountSettings API and set the value of the TerminationProtectionEnabled parameter to False , then make another call to the DeleteAccountSubscription API.
See also: AWS API Documentation
Request Syntax
response = client.delete_account_subscription(
AwsAccountId='string'
)
[REQUIRED]
The Amazon Web Services account ID of the account that you want to delete.
{
'RequestId': 'string',
'Status': 123
}
Response Structure
The Amazon Web Services request ID for this operation.
The HTTP status of the request.
Exceptions
QuickSight.Client.exceptions.AccessDeniedExceptionQuickSight.Client.exceptions.InvalidParameterValueExceptionQuickSight.Client.exceptions.ResourceNotFoundExceptionQuickSight.Client.exceptions.ThrottlingExceptionQuickSight.Client.exceptions.PreconditionNotMetExceptionQuickSight.Client.exceptions.InternalFailureExceptionQuickSight.Client.exceptions.ResourceUnavailableException