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

# Pause a reusable session

> Pauses an active reusable session, disconnecting all active connections



## OpenAPI

````yaml swagger.json patch /sessions/{id}/pause
openapi: 3.0.1
info:
  title: VPN-as-a-Service API
  description: API for managing VPN zones and sessions
  version: '1.0'
servers:
  - url: https://api.pingnetwork.io/customer/v2
security:
  - ApiKeyAuth: []
paths:
  /sessions/{id}/pause:
    patch:
      tags:
        - Sessions
      summary: Pause a reusable session
      description: Pauses an active reusable session, disconnecting all active connections
      parameters:
        - name: id
          in: path
          description: Session ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Session paused successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sessions.PauseSessionResponse'
        '400':
          description: Bad Request - Session is not reusable or already paused
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors.ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors.ErrorResponse'
        '404':
          description: Session not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors.ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors.ErrorResponse'
components:
  schemas:
    sessions.PauseSessionResponse:
      required:
        - session_id
        - paused
      type: object
      properties:
        session_id:
          type: string
          description: Session ID that was paused
        paused:
          type: boolean
          description: Indicates if the session is now paused
    errors.ErrorResponse:
      required:
        - error
      type: object
      properties:
        error:
          required:
            - code
            - message
          type: object
          properties:
            code:
              type: string
              description: Unique error code identifier
            message:
              type: string
              description: Human-readable error message
            details:
              type: object
              properties: {}
              description: Additional error context
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      name: Authorization
      in: header

````