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

# Revoke Active Token Session

> Handles revoke active token session with strict validation and tenant isolation.



## OpenAPI

````yaml /openapi.json post /api/v1/auth/logout
openapi: 3.1.0
info:
  title: ScanDrix Enterprise API
  description: >-
    High-Performance AI-Powered Automated Code Review, Rule Engine, and SCM
    Security Platform.
  version: 1.0.0
  contact:
    name: ScanDrix Engineering
    url: https://scandrix.dev
    email: support@scandrix.dev
  license:
    name: GNU Affero General Public License v3.0 (AGPL-3.0)
    url: https://www.gnu.org/licenses/agpl-3.0.html
servers:
  - url: http://localhost:8080
    description: Local Development Server
  - url: https://api.scandrix.dev
    description: Production Cloud Gateway
security: []
paths:
  /api/v1/auth/logout:
    post:
      tags:
        - Authentication
      summary: Revoke Active Token Session
      description: >-
        Handles revoke active token session with strict validation and tenant
        isolation.
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                '': '#/components/schemas/StandardResponse'
        '401':
          description: Unauthorized — missing or invalid Bearer token
        '403':
          description: Forbidden — insufficient workspace permissions
        '500':
          description: Internal Server Error
      security:
        - BearerAuth: []
        - CLIKeyAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Standard JWT Bearer token obtained via /api/v1/auth/login or CLI session
    CLIKeyAuth:
      type: apiKey
      in: header
      name: x-team-key
      description: ScanDrix Team CLI Key (starts with scandrix_*)

````

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