> ## 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 a pending verification

> Soft-expires a pending verification for a scope and user. Use when create-verification-link returns 409.



## OpenAPI

````yaml /openapi-sdk-a.json post /sdk/revoke-verification
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/revoke-verification:
    post:
      tags:
        - SDK
      summary: Revoke a pending verification
      description: >-
        Soft-expires a pending verification for a scope and user. Use when
        create-verification-link returns 409.
      operationId: SdkRevokeVerification
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - scope
              properties:
                scope:
                  type: string
      responses:
        '200':
          description: Revocation result
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                properties:
                  data:
                    type: object
                    properties:
                      success:
                        type: boolean
                      revoked_count:
                        type: integer
                      message:
                        type: string
        '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_...')

````