> ## Documentation Index
> Fetch the complete documentation index at: https://geonode.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Release Proxy Session by Session ID and Ports

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



## OpenAPI

````yaml api-reference/ref/session-release-by-sesion-id-and-port.yaml put /sessions/release/proxies
openapi: 3.0.3
info:
  title: Geonode Proxy Sticky Session Release API - By Session
  version: 1.0.0
  description: >
    This API allows you to **release sticky sessions** by session ID and port in
    Geonode's proxy service.


    ## Authentication

    This API requires **Basic Authentication**, which means you **do not** need
    to pass `--user` in the request.


    - When you enter your **username** and **password** in ReadMe's
    authentication section, the **Authorization header** will automatically be
    added.
servers:
  - url: https://monitor.geonode.com
    description: Geonode Monitoring Service
security: []
paths:
  /sessions/release/proxies:
    put:
      summary: Release Sticky Session by Session ID and Port
      description: >-
        Release sticky sessions for a specified Geonode service by session ID
        and port.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  type: array
                  description: Array containing session ID and port details.
                  items:
                    type: object
                    properties:
                      sessionId:
                        type: string
                        description: Session ID to release.
                        example: random0001
                      port:
                        type: integer
                        description: Target port number.
                        example: 10000
      responses:
        '200':
          description: Session released successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    description: Indicates whether the session release was successful.
                    example: true
        '400':
          description: Bad request due to invalid parameters.
        '407':
          description: Unauthorized access due to invalid credentials.
        '500':
          description: Internal server error.
      security:
        - BasicAuth: []
components:
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic
      description: >
        **Basic Authentication** is required for this API.

        - When using **ReadMe Authentication**, simply enter your **username**
        and **password**, and the `Authorization` header will be automatically
        included.

````