Skip to content

Release Proxy

Release a proxy session to free the IP back to the pool.

POST /v1/proxy/{proxy_id}/release
Terminal window
curl -X POST "https://api.hydraskill.ai/v1/proxy/px_abc123/release" \
-H "Authorization: Bearer sk-your-key"
{
"released": true,
"session_duration_ms": 45000,
"requests_made": 23,
"bytes_transferred": 1048576
}
proxy = client.get_proxy(target="amazon.com", session_lock=True)
# ... do work ...
proxy.release() # free the IP

Proxies are automatically released after session_ttl expires (default 30 minutes of inactivity). Explicit release is recommended to free resources immediately.