Removing a Whitelisted IP
Learn more about the RESTful API endpoint and code examples for removing whitelisted IPs from your Dedicated ISP proxies.
Parameter
Description
Response
Description
Code examples
curl -X DELETE -u username:password "https://api.oxylabs.io/v1/whitelisted_ips/{id}"<?php
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, 'https://api.oxylabs.io/v1/whitelisted_ips/{id}');
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "DELETE");
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_USERPWD, 'username:password');
$result = curl_exec($curl);
?>import requests
requests.delete('https://api.oxylabs.io/v1/whitelisted_ips/{id}', auth=('username', 'password'))Last updated
Was this helpful?

