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

# Revoke Token

> Revoke a specific client token

Use your org-level API key to revoke a single JWT token, rendering it invalid for future requests.

<ResponseExample>
  ```json Response (200 OK) theme={null}
  {
    "status": "success",
    "message": "Token successfully revoked"
  }
  ```
</ResponseExample>

<RequestExample>
  ```json Request theme={null}
  {
    "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
  }
  ```
</RequestExample>


## OpenAPI

````yaml POST /revoke_token
openapi: 3.1.0
info:
  title: Client-Side Authentication & API
  version: 1.0.0
  description: |
    Endpoints for managing and using client-side tokens (JWT). 
    Generate or revoke tokens with your org-level API key, 
    then call the client-specific endpoints using the JWT.
servers:
  - url: https://platform-api.wisprflow.ai/api/v1/dash
    description: Production server
security: []
paths:
  /revoke_token:
    post:
      summary: Revoke a specific client token
      description: |
        Use your org-level API key to revoke a single JWT token, 
        rendering it invalid for future requests.
      operationId: revokeUserToken
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - access_token
              properties:
                access_token:
                  type: string
                  description: The JWT token to revoke
      responses:
        '200':
          description: Token revoked successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  message:
                    type: string
                    example: Token successfully revoked
        '401':
          description: Unauthorized (invalid org-level API key)
        '404':
          description: Token not found
        '500':
          description: Internal server error
      security:
        - bearerAuthOrg: []
components:
  securitySchemes:
    bearerAuthOrg:
      type: http
      scheme: bearer
      bearerFormat: OrganizationKey
      description: >
        **Org-level key** (format: `Bearer fl-xxxxx`)  used to manage client
        tokens.

````