Delete IP list
DELETE https://geonix.com/personal/api/v1/{apiKey}/resident/list/rename
This endpoint allows you to delete an existing IP list from your residential proxy package. Removing an IP list helps in managing and organizing your proxy resources efficiently by eliminating lists that are no longer needed or relevant to your current proxy configurations.
Headers
Name
Value
Accept
application/json
Content-Type
application/json
Path parameters
Name
Type
Description
apiKey*
string
API key to authorize requests
Query parameters
Name
Type
Description
id*
integer
The unique identifier of the IP list you wish to delete.
Request examples
curl -X DELETE "https://geonix.com/personal/api/v1/YOUR_API_KEY/resident/list/delete?id=12345" \
-H "Accept: application/json"<?php
$apiKey = 'YOUR_API_KEY'; // Replace with your actual API key
$listId = 12345; // Replace with your actual list ID
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://geonix.com/personal/api/v1/$apiKey/resident/list/delete?id=$listId",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Accept: application/json"
],
]);
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class DeleteIPListExample {
public static void main(String[] args) {
HttpClient client = HttpClient.newHttpClient();
int listId = 12345; // Replace with your actual list ID
String apiKey = "YOUR_API_KEY"; // Replace with your actual API key
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://geonix.com/personal/api/v1/" + apiKey + "/resident/list/delete?id=" + listId))
.header("Accept", "application/json")
.DELETE()
.build();
try {
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
} catch (Exception e) {
e.printStackTrace();
}
}
}
Response examples
{
"status": "success",
"data": "delete",
"errors": []
}
{
"status": "error",
"data": null,
"errors": [
{
"message": "not-found",
"code": 404,
"customData": null
}
]
}
Last updated