> ## 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 Client Tokens

> Revoke all tokens for a specific client

Use your org-level API key to revoke every token associated with a particular client\_id.

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

<RequestExample>
  ```json Request theme={null}
  {
    "client_id": "client123"
  }
  ```
</RequestExample>


## OpenAPI

````yaml POST /revoke_client_tokens
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_client_tokens:
    post:
      summary: Revoke all tokens for a specific client
      description: |
        Use your org-level API key to revoke every token associated with
        a particular client_id.
      operationId: revokeClientTokens
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - client_id
              properties:
                client_id:
                  type: string
                  description: The client ID whose tokens you want to invalidate
      responses:
        '200':
          description: All tokens revoked successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  message:
                    type: string
                    example: All tokens for client successfully revoked
        '401':
          description: Unauthorized (invalid org-level API key)
        '404':
          description: No tokens found for this client
        '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.

````