QuickSight / Client / delete_user
delete_user#
- QuickSight.Client.delete_user(**kwargs)#
Deletes the Amazon QuickSight user that is associated with the identity of the IAM user or role that’s making the call. The IAM user isn’t deleted as a result of this call.
See also: AWS API Documentation
Request Syntax
response = client.delete_user( UserName='string', AwsAccountId='string', Namespace='string' )
- Parameters:
UserName (string) –
[REQUIRED]
The name of the user that you want to delete.
AwsAccountId (string) –
[REQUIRED]
The ID for the Amazon Web Services account that the user is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.
Namespace (string) –
[REQUIRED]
The namespace. Currently, you should set this to
default
.
- 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
QuickSight.Client.exceptions.AccessDeniedException
QuickSight.Client.exceptions.InvalidParameterValueException
QuickSight.Client.exceptions.ResourceNotFoundException
QuickSight.Client.exceptions.ThrottlingException
QuickSight.Client.exceptions.PreconditionNotMetException
QuickSight.Client.exceptions.InternalFailureException
QuickSight.Client.exceptions.ResourceUnavailableException