:doc:`Transfer <../../transfer>` / Client / delete_user

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



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

  

  Deletes the user belonging to a file transfer protocol-enabled server you specify.

   

  No response returns from this operation.

   

  .. note::

    

    When you delete a user from a server, the user's information is lost.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteUser>`_  


  **Request Syntax**
  ::

    response = client.delete_user(
        ServerId='string',
        UserName='string'
    )
    
  :type ServerId: string
  :param ServerId: **[REQUIRED]** 

    A system-assigned unique identifier for a server instance that has the user assigned to it.

    

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

    A unique string that identifies a user that is being deleted from a server.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`Transfer.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Transfer.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Transfer.Client.exceptions.InternalServiceError`

  
  *   :py:class:`Transfer.Client.exceptions.ServiceUnavailableException`

  