> ## 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.

# Resume a paused session

> Resumes a paused reusable session, allowing new connections



## OpenAPI

````yaml swagger.json patch /sessions/{id}/resume
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}/resume:
    patch:
      tags:
        - Sessions
      summary: Resume a paused session
      description: Resumes a paused reusable session, allowing new connections
      parameters:
        - name: id
          in: path
          description: Session ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Session resumed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sessions.ResumeSessionResponse'
        '400':
          description: Bad Request - Session is not paused or not reusable
          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.ResumeSessionResponse:
      required:
        - session_id
        - paused
      type: object
      properties:
        session_id:
          type: string
          description: Session ID that was resumed
        paused:
          type: boolean
          description: Indicates if the session is paused (should be false after resume)
    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

````