QuickSight / Client / delete_user_by_principal_id

delete_user_by_principal_id#

QuickSight.Client.delete_user_by_principal_id(**kwargs)#

Deletes a user identified by its principal ID.

See also: AWS API Documentation

Request Syntax

response = client.delete_user_by_principal_id(
    PrincipalId='string',
    AwsAccountId='string',
    Namespace='string'
)
Parameters:
  • PrincipalId (string) –

    [REQUIRED]

    The principal ID of the user.

  • 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