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

# DELETE /admin/api/session



## OpenAPI

````yaml /generated/openapi.json delete /admin/api/session
openapi: 3.1.0
info:
  description: >-
    Forwarding, management, portal and OAuth APIs generated from Rust types.
    Input and output schemas preserve their respective Serde contracts.
    Streaming events and WebSocket messages are documented alongside HTTP
    payloads.
  title: GPROXY HTTP API
  version: 4.2.1
servers: []
security:
  - bearer: []
  - anthropicKey: []
  - googleKey: []
  - queryKey: []
paths:
  /admin/api/session:
    delete:
      tags:
        - Management
      summary: DELETE /admin/api/session
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  endedSession:
                    type: boolean
                required:
                  - endedSession
                type: object
          description: Success
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Output_Envelope'
          description: Gateway error
      security:
        - consoleSession: []
        - bearer: []
        - anthropicKey: []
        - googleKey: []
components:
  schemas:
    Output_Envelope:
      properties:
        error:
          $ref: '#/components/schemas/Output_EnvelopeBody'
      required:
        - error
      type: object
    Output_EnvelopeBody:
      properties:
        code:
          type: string
        message:
          type: string
      required:
        - code
        - message
      type: object
  securitySchemes:
    bearer:
      scheme: bearer
      type: http
    anthropicKey:
      in: header
      name: x-api-key
      type: apiKey
    googleKey:
      in: header
      name: x-goog-api-key
      type: apiKey
    queryKey:
      in: query
      name: key
      type: apiKey
    consoleSession:
      in: cookie
      name: gproxy_session
      type: apiKey

````

## Related topics

- [DELETE /admin/api/sessions/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapisessions.md)
- [GET /admin/api/session](https://gproxy.leenhawk.com/api-reference/management/get-adminapisession.md)
- [GET /admin/api/sessions](https://gproxy.leenhawk.com/api-reference/management/get-adminapisessions.md)
- [DELETE /admin/api/users/{id}/sessions](https://gproxy.leenhawk.com/api-reference/management/delete-adminapiusers-sessions.md)
- [DELETE /admin/api/fonts](https://gproxy.leenhawk.com/api-reference/management/delete-adminapifonts.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.