:doc:`AppStream <../../appstream>` / Client / delete_user

***********
delete_user
***********



.. py:method:: AppStream.Client.delete_user(**kwargs)

  

  Deletes a user from the user pool.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUser>`_  


  **Request Syntax**
  ::

    response = client.delete_user(
        UserName='string',
        AuthenticationType='API'|'SAML'|'USERPOOL'|'AWS_AD'
    )
    
  :type UserName: string
  :param UserName: **[REQUIRED]** 

    The email address of the user.

     

    .. note::

      

      Users' email addresses are case-sensitive.

      

    

  
  :type AuthenticationType: string
  :param AuthenticationType: **[REQUIRED]** 

    The authentication type for the user. You must specify USERPOOL.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`AppStream.Client.exceptions.ResourceNotFoundException`

  