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
| Field | Type | Required | Description |
|---|---|---|---|
data | array | Yes | Array containing session details |
data[].sessionId | string | Yes | The session ID to release |
data[].port | integer | Yes | The port number associated with the session |
Example Request Body
{
"data": [
{
"sessionId": "random0001",
"port": 10000
}
]
}Response
200 Success
Session released successfully.
Response Fields
| Field | Type | Description |
|---|---|---|
success | boolean | Indicates whether the session release was successful |
Example Response
{
"success": true
}