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

# Sign out

> Ends the session the bearer token belongs to.



## OpenAPI

````yaml gateway-openapi.yaml DELETE /v1/session
openapi: 3.1.0
info:
  contact: {}
  description: HTTP entry point to the Molpha oracle protocol.
  title: Molpha Gateway API
  version: '1.0'
  x-mint:
    metadata:
      description: >-
        Dispatch oracle rounds, collect threshold signatures, and return
        payloads for Solana, EVM, and Starknet verification.
servers:
  - url: https://gateway.molpha.io
    description: Devnet (SDK default)
security: []
tags:
  - name: health
    x-group: Health
    description: Liveness probes
  - name: gateway
    x-group: Gateway
    description: Gateway identity and the RequestAuth window
  - name: nodes
    x-group: Nodes
    description: Oracle node discovery
  - name: providers
    x-group: Providers
    description: Integrated data providers
  - name: round
    x-group: Subscription rounds
    description: Subscription and delegate execute path
  - name: session
    x-group: Sessions
    description: >-
      Sign-In-With-X sessions (served when `GET /v1/info` reports `sessionAuth`
      true)
  - name: x402
    x-group: x402 pay-per-request
    description: >-
      Pay-per-request path paid in USDC to the protocol treasury (requires a
      configured facilitator)
paths:
  /v1/session:
    delete:
      tags:
        - session
      summary: Sign out
      description: Ends the session the bearer token belongs to.
      responses:
        '204':
          description: Signed out
        '404':
          description: Sessions are not enabled on this gateway
        '503':
          description: Transient storage failure; retry after the `Retry-After` header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message.
          example: validation failed
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Session token from `POST /v1/session`, sent as `Authorization` `Bearer
        <token>`. Required for `DELETE /v1/session`. On `POST /v1/round/execute`
        it is optional and replaces RequestAuth (`authSig` and `authTimestamp`
        in the body).

````

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