Update Proxy Rotation
Update the rotation status of a proxy.
PUT/proxies/update_rotation
Body Parameters
Security
Authorization
stringrequiredJWT Bearer token
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
Request Body
id
integerrequiredID of the proxy to update
is_rotating
booleanrequiredEnable or disable proxy rotation
const response = await fetch('https://api.pinguproxy.com/proxies/update_rotation', {method: 'PUT',headers: {'Authorization': 'Bearer your-jwt-token','Content-Type': 'application/json'},body: JSON.stringify({id: 1,is_rotating: true})});const result = await response.json();
Response
{"is_rotating": true}
Update Proxy Rotate Interval
Update the rotation interval of a proxy.
PUT/proxies/update_rotate_interval
Body Parameters
Security
Authorization
stringrequiredJWT Bearer token
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
Request Body
id
integerrequiredID of the proxy to update
rotate_interval
integerrequiredNew rotation interval in seconds
const response = await fetch('https://api.pinguproxy.com/proxies/update_rotate_interval', {method: 'PUT',headers: {'Authorization': 'Bearer your-jwt-token','Content-Type': 'application/json'},body: JSON.stringify({id: 1,rotate_interval: 300})});const result = await response.json();
Response
{"success": true}