Delete Proxy

Delete an existing proxy.

DELETE/proxies/delete

Body Parameters

Security

Authorizationstringrequired

JWT Bearer token

Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

Request Body

idintegerrequired

ID of the proxy to delete

1const response = await fetch('https://api.pinguproxy.com/proxies/delete', {
2 method: 'DELETE',
3 headers: {
4 'Authorization': 'Bearer your-jwt-token',
5 'Content-Type': 'application/json'
6 },
7 body: JSON.stringify({
8 id: 1
9 })
10});
11
12const result = await response.json();

Response

Status 200
{
"success": true
}