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.ServiceUnavailableException
Transfer.Client.exceptions.InternalServiceError
Transfer.Client.exceptions.InvalidRequestException
Transfer.Client.exceptions.ResourceNotFoundException
Transfer.Client.exceptions.ThrottlingException