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

# Invalidate Otp Developer App

> Force-expire any active OTP for a phone within your developer app. When your X-API-Key is bound to a developer app, omit app_key from the body.



## OpenAPI

````yaml /openapi.json post /v1/otp/invalidate
openapi: 3.1.0
info:
  title: Briq API
  description: Karibu Briq API Documentation
  version: '0.8'
servers:
  - url: https://karibu.briq.tz
    description: Production
  - url: https://pre-release.karibu.briq.tz
    description: Pre-release
  - url: http://karibu.briq.tz
    description: LocalPass
security: []
paths:
  /v1/otp/invalidate:
    post:
      tags:
        - Karibu-OTP
      summary: Invalidate Otp Developer App
      description: >-
        Force-expire any active OTP for a phone within your developer app. When
        your X-API-Key is bound to a developer app, omit app_key from the body.
      operationId: invalidate_otp_developer_app_v1_otp_invalidate_post
      parameters:
        - name: X-API-Key
          in: header
          required: true
          schema:
            type: string
            title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OTPInvalidateDeveloperAppSchema'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BaseResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    OTPInvalidateDeveloperAppSchema:
      properties:
        phone_number:
          type: string
          title: Phone Number
          description: >-
            Recipient's phone number, E.164 digits-only (no '+', e.g.
            255712345678)
          examples:
            - '255712345678'
        app_key:
          anyOf:
            - type: string
            - type: 'null'
          title: App Key
          description: >-
            Optional. Omit when your X-API-Key is bound to a developer app.
            Legacy unbound keys may send this or use the X-App-ID header
            instead.
          examples:
            - devapp_123456
      type: object
      required:
        - phone_number
      title: OTPInvalidateDeveloperAppSchema
    BaseResponse:
      properties:
        success:
          type: boolean
          title: Success
        message:
          type: string
          title: Message
        data:
          anyOf:
            - type: object
            - type: 'null'
          title: Data
        status_code:
          type: integer
          title: Status Code
          default: 200
      type: object
      required:
        - success
        - message
      title: BaseResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````