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

# Revoke an Anchor Grant Window token



## OpenAPI

````yaml /openapi-sdk-a.json post /sdk/logout
openapi: 3.1.0
info:
  title: BotShield SDK A API
  version: 2.0.0
  description: >-
    BotShield SDK A -- Signal-only human presence verification. Momentary
    presence check with no persistence.
  contact:
    name: BotShield Support
    email: support@botshield.ai
    url: https://botshield.ai
servers:
  - url: https://api.botshield.ai/operations
    description: BotShield API
security: []
tags:
  - name: SDK
    description: >-
      Core SDK operations — session management, verification, token validation,
      and Signal Pixel scoring
  - name: Signal Pixel
    description: >-
      BotShield Signal Pixel — passive behavioral fingerprinting with
      tamper-proof server-side scoring
  - name: Verification
    description: Verification status checking and user lookup
paths:
  /sdk/logout:
    post:
      tags:
        - SDK
      summary: Revoke an Anchor Grant Window token
      operationId: SdkLogout
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - session_token
              properties:
                session_token:
                  type: string
                  description: The anchor grant token (bss_*) to revoke
      responses:
        '200':
          description: Token revoked
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
                  token_found:
                    type: boolean
                  revoked_at:
                    type: string
                    format: date-time
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/InternalError'
      security:
        - ApiKeyAuth: []
components:
  responses:
    BadRequest:
      description: Invalid input
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/InvalidInputError'
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    InvalidInputError:
      type: object
      required:
        - message
        - input
        - errors
      properties:
        message:
          type: string
          example: Invalid input provided
        input:
          type: object
          additionalProperties: true
        errors:
          type: array
          items:
            type: object
            required:
              - propertyPath
              - invalidValue
              - message
            properties:
              propertyPath:
                type: string
              invalidValue:
                description: The invalid value
              message:
                type: string
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - message
            - statusCode
          properties:
            message:
              type: string
            statusCode:
              type: integer
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        API key with Bearer prefix (e.g., 'Bearer bs_live_sk_...' or 'Bearer
        pk_live_...')

````