QuickSight / Client / delete_account_subscription

delete_account_subscription#

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'
)
Parameters:

AwsAccountId (string) –

[REQUIRED]

The Amazon Web Services account ID of the account that you want to delete.

Return type:

dict

Returns:

Response Syntax

{
    'RequestId': 'string',
    'Status': 123
}

Response Structure

  • (dict) –

    • RequestId (string) –

      The Amazon Web Services request ID for this operation.

    • Status (integer) –

      The HTTP status of the request.

Exceptions