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

const response = await fetch('https://api.pinguproxy.com/proxies/delete', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer your-jwt-token',
'Content-Type': 'application/json'
},
body: JSON.stringify({
id: 1
})
});
const result = await response.json();

Response

{
"success": true
}