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

# Post v1accountauthlogout all

> Ends every session. keepCurrent spares the caller's own, which is what "sign out my other devices" means; leaving it false is what a suspected compromise needs.



## OpenAPI

````yaml https://raw.githubusercontent.com/kewldan/omniflow/main/api/openapi.yaml post /v1/account/auth/logout-all
openapi: 3.0.3
info:
  title: Omniflow API
  version: 1.0.0
  description: >-
    Customer, commerce, payment, wallet, fulfillment, and operations API for
    Omniflow.
servers: []
security: []
paths:
  /v1/account/auth/logout-all:
    post:
      tags:
        - account
      description: >-
        Ends every session. keepCurrent spares the caller's own, which is what
        "sign out my other devices" means; leaving it false is what a suspected
        compromise needs.
      operationId: accountLogoutAll
      parameters:
        - $ref: '#/components/parameters/CSRFToken'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                keepCurrent:
                  type: boolean
                  default: false
      responses:
        '200':
          description: Sessions ended
          content:
            application/json:
              schema:
                type: object
                required:
                  - revoked
                properties:
                  revoked:
                    type: integer
components:
  parameters:
    CSRFToken:
      in: header
      name: X-CSRF-Token
      required: true
      description: >-
        Echoes the token from the current session. Required on every unsafe
        method.
      schema:
        type: string

````

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