Release Sticky Session by Session ID and Port

Release sticky sessions for a specified Geonode service by session ID and port.

Release one or more sticky sessions by specifying their session IDs and ports. This allows you to free up resources and terminate specific proxy connections.

Request

curl -X PUT "https://app-api.geonode.com/api/sessions/release/proxies" \
     -H "Authorization: Basic base64(username:password)" \
     -H "Content-Type: application/json" \
     -d '{"data":[{"sessionId":"random0001","port":10000}]}'

Request Body Parameters

FieldTypeRequiredDescription
dataarrayYesArray containing session details
data[].sessionIdstringYesThe session ID to release
data[].portintegerYesThe port number associated with the session

Example Request Body

{
  "data": [
    {
      "sessionId": "random0001",
      "port": 10000
    }
  ]
}

Response

200 Success

Session released successfully.

Response Fields

FieldTypeDescription
successbooleanIndicates whether the session release was successful

Example Response

{
  "success": true
}

On this page