    # File lib/fog/hp/requests/compute/delete_key_pair.rb, line 23
            def delete_key_pair(key_name)
              response = Excon::Response.new
              if self.data[:key_pairs][key_name]
                self.data[:last_modified][:key_pairs].delete(key_name)
                self.data[:key_pairs].delete(key_name)
                response.status = 202
                response.body = "202 Accepted\n\nThe request is accepted for processing.\n\n   "
                response
              else
                raise Fog::Compute::HP::NotFound
              end
            end