<?php

/**
 *
 * @copyright  2022 mcpalo.com
 * @version    1
 * @link       http://www.mcpalo.com
 */

require_once 'sendhttp.php';

function unindexfile($login, $password, $id) {
	$curl = 'https://bezillion.com/api/v1/unindexfile/' . $id . '?' . 'login=' . urlencode($login) . '&' . 'password=' . urlencode($password);

	$response=senddelete($curl);

	if (!$response or $response[0] != 200) {
		return false;
	}

	return true;
}
