Release Proxy Session by Port
This API allows users to release a specific proxy session by providing a port number.
Release a sticky session by specifying its port number. Use this when you need to free up a particular proxy connection without affecting other sessions.
Request
curl -X PUT "https://monitor.geonode.com/sessions/release/proxies" \
-H "Authorization: Basic base64(username:password)" \
-H "Content-Type: application/json" \
-d '{"data":[{"port":10001}]}'Request Body Parameters
| Field | Type | Required | Description |
|---|---|---|---|
data | array | Yes | Array containing session details |
data[].port | integer | Yes | The port number of the proxy session to release |
Example Request Body
{
"data": [
{
"port": 10001
}
]
}Response
200 Success
Session released successfully.
Response Fields
| Field | Type | Description |
|---|---|---|
success | boolean | Indicates whether the session release was successful |
Example Response
{
"success": true
}