Use the following endpoint to delete allowlisted variables.
- Proxy & VPN Detection API
- Email Verification API
- Phone Number Validation API
- Device Fingerprint API
- Malicious URL Scanner API
- Mobile Device Fingerprinting SDK
- Gaming Fraud Detection SDK
- Dark Web Leak API
- Malware File Scanner API
- Request List API
- Fraud Reporting API
- Account Management APIs
- Bulk Validation CSV API
- Allowlist & Blocklist APIs
- Plugins Platforms & Integrations
- IP Reputation Database
- Email Verification Database
- Custom Integrations
- Country List API
Deleting Allowlist Entries
API Request URL
Request Parameters
This API endpoint has 3 required input parameters.
- value - The value you wish remove from the allowlist.
- value_type - What kind of value you're allow listing (e.g., ip, cidr, etc. See below)
- type - What API's allowlist you wish to remove this value from. (One of: proxy, url, email, phone, mobiletracker, devicetracker)
Accepted Type | Description | Accepted value_types |
proxy | The IP you wish to remove from the allowlist. (e.g., 1.1.1.1) | ip |
A CIDR (formatted IP/network) you wish to remove from the allowlist. (e.g., 1.1.1.0/24) | cidr | |
The name of an ISP you wish to remove from the allowlist. | isp | |
devicetracker | The DeviceID you wish to remove from the allowlist. (e.g., b2q3...) | deviceid |
The IP you wish to remove from the allowlist. (e.g., 1.1.1.1) | ip | |
A CIDR (formatted IP/network) you wish to remove from the allowlist. (e.g., 1.1.1.0/24) | cidr | |
The name of an ISP you wish to remove from the allowlist. (e.g., Spectrum) | isp | |
mobiletracker | The DeviceID you wish to remove from the allowlist. (e.g., b2q3...) | deviceid |
The IP you wish to remove from the allowlist. (e.g., 1.1.1.1) | ip | |
A CIDR (formatted IP/network) you wish to remove from the allowlist. (e.g., 1.1.1.0/24) | cidr | |
The name of an ISP you wish to remove from the allowlist. (e.g., Spectrum) | isp | |
The email you wish to remove from the allowlist. (e.g., noreply@ipqualityscore.com) | ||
url | The domain you wish to remove from the allowlist. (e.g., ipqualityscore.com) | domain |
phone | The phone number you wish to remove from the allowlist. (e.g., 1-800-713-2618 or 18007132618) | phone |
custom | The variable you wish to remove from the allowlist. (e.g., 1234) | your_custom_variable (e.g., userID) |
Example Response
This is an example success response in JSON format. Responses are also available in XML format.
1
{
2
"success":true,
3
"message":"Successfully deleted Allow List entry.",
4
"data":[],
5
"request_id":"CXScW08shC"
6
}
EXAMPLE CODE
xxxxxxxxxx
1
<?php
2
3
/*
4
* Delete an entry in the Allowlist.
5
*/
6
7
// create post fields
8
$post = [
9
'value' => '1.1.1.1',
10
'value_type' => 'ip',
11
'type' => 'proxy',
12
];
13
14
// Initialise the cURL var
15
$ch = curl_init();
16
17
// Get the response from cURL
18
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
19
20
// Set type to POST
21
curl_setopt($ch,CURLOPT_POST, 1);
22
23
// Set the POST parameters
24
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
25
26
// Set the endpoint to request.
27
curl_setopt($ch, CURLOPT_URL, 'https://ipqualityscore.com/api/json/allowlist/delete/YOUR_API_KEY_HERE');
28
29
// Execute the request
30
$raw_response = curl_exec($ch);
31
32
// Decode the response.
33
$response = json_decode($raw_response, true);
34
35
// Print out the result or error.
36
if($response['success']){
37
echo "Entry deleted successfully!";
38
} else {
39
echo "Failed to delete entry: ".$response['message'];
40
}