'Delete an SSH key.
:param key_pair: The SSH key to delete
:type key_pair: :class:`SSHKey`
:return: True on success
:rtype: ``bool``'

def delete_key_pair(self, key_pair):

    params = {'SSHKEYID': key_pair.id}
    res = self.connection.post('/v1/sshkey/destroy', params)
    return (res.status == httplib.OK)
