Transfer.Client.delete_ssh_public_key(**kwargs)¶Deletes a user's Secure Shell (SSH) public key.
See also: AWS API Documentation
Request Syntax
response = client.delete_ssh_public_key(
ServerId='string',
SshPublicKeyId='string',
UserName='string'
)
[REQUIRED]
A system-assigned unique identifier for a file transfer protocol-enabled server instance that has the user assigned to it.
[REQUIRED]
A unique identifier used to reference your user's specific SSH key.
[REQUIRED]
A unique string that identifies a user whose public key is being deleted.
None
Exceptions
Transfer.Client.exceptions.ServiceUnavailableExceptionTransfer.Client.exceptions.InternalServiceErrorTransfer.Client.exceptions.InvalidRequestExceptionTransfer.Client.exceptions.ResourceNotFoundExceptionTransfer.Client.exceptions.ThrottlingException