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

# Logout and terminate session

> Terminates the current user session and invalidates the refresh token, preventing further access token generation.



## OpenAPI

````yaml api-reference/auth.yaml post /sessions/logout
openapi: 3.0.3
info:
  title: auth
  description: >-
    The Auth Service is the single source of truth for all accounts and their
    permissions, managing authentication and access control across the platform.
    It maintains efficiency at scale by issuing access tokens to accounts when
    they log into the platform and providing public keys for other services to
    verify them.
  version: 1.0.0
servers:
  - url: https://auth.platform.arb.inc
security: []
tags:
  - name: /
  - name: authenticate
  - name: internal
  - name: organizations
  - name: sessions
  - name: users
paths:
  /sessions/logout:
    post:
      tags:
        - sessions
      summary: Logout and terminate session
      description: >-
        Terminates the current user session and invalidates the refresh token,
        preventing further access token generation.
      operationId: logoutSession
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - refreshToken
              properties:
                refreshToken:
                  type: string
                  description: The refresh token to invalidate
                  example: a7b3c4d5e6f7g8h9i0j1k2l3m4n5o6p7
      responses:
        '200':
          description: Successfully logged out the session

````