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

FieldTypeRequiredDescription
dataarrayYesArray containing session details
data[].portintegerYesThe port number of the proxy session to release

Example Request Body

{
  "data": [
    {
      "port": 10001
    }
  ]
}

Response

200 Success

Session released successfully.

Response Fields

FieldTypeDescription
successbooleanIndicates whether the session release was successful

Example Response

{
  "success": true
}

On this page