'Deletes a keypair.
For a full list of available parameters, please refer to the official
API reference:
https://developer.openstack.org/api-ref/compute/#delete-keypair'

def delete_keypair(self, keypair_name, **params):

    url = ('os-keypairs/%s' % keypair_name)
    if params:
        url += ('?%s' % urllib.urlencode(params))
    (resp, body) = self.delete(url)
    schema = self.get_schema(self.schema_versions_info)
    self.validate_response(schema.delete_keypair, resp, body)
    return rest_client.ResponseBody(resp, body)
