Release Proxy
Release Proxy
Section titled “Release Proxy”Release a proxy session to free the IP back to the pool.
Endpoint
Section titled “Endpoint”POST /v1/proxy/{proxy_id}/releaseRequest
Section titled “Request”curl -X POST "https://api.hydraskill.ai/v1/proxy/px_abc123/release" \ -H "Authorization: Bearer sk-your-key"Response
Section titled “Response”{ "released": true, "session_duration_ms": 45000, "requests_made": 23, "bytes_transferred": 1048576}SDK Usage
Section titled “SDK Usage”proxy = client.get_proxy(target="amazon.com", session_lock=True)
# ... do work ...
proxy.release() # free the IPAuto-Release
Section titled “Auto-Release”Proxies are automatically released after session_ttl expires (default 30 minutes of inactivity). Explicit release is recommended to free resources immediately.