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

*********************
delete_ssh_public_key
*********************



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

  

  Deletes a user's Secure Shell (SSH) public key.

  

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


  **Request Syntax**
  ::

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

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

    

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

    A unique identifier used to reference your user's specific SSH key.

    

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

    A unique string that identifies a user whose public key is being deleted.

    

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

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

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

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

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

  