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

# Revoke Widget Key

> Revoke a web widget key so widgets that use it stop starting calls.



## OpenAPI

````yaml DELETE /web-call/public-keys/{key}
openapi: 3.1.0
info:
  title: Bolna API
  description: >-
    Use and leverage Bolna Voice AI using APIs through HTTP requests from any
    language in your applications and workflows.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.bolna.ai
    description: Production server
security:
  - bearerAuth: []
tags:
  - name: SIP trunks
    description: >-
      Bring-your-own-carrier SIP trunks, their gateways, carrier IPs and
      numbers.
paths:
  /web-call/public-keys/{key}:
    delete:
      description: >-
        Revoke a widget key. Widgets that use it stop starting calls from the
        next call; calls already live carry on. A revoked key can't be turned
        back on, so create a new one instead.
      parameters:
        - in: path
          name: key
          required: true
          schema:
            type: string
          description: The widget key, `pk_` followed by 32 characters
      responses:
        '200':
          description: Key revoked
          content:
            application/json:
              example:
                key: pk_4f6c1d2e3a5b4c7d8e9f0a1b2c3d4e5f
                state: revoked
        '404':
          description: key not found for this account
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebWidgetKeyMessage'
components:
  schemas:
    WebWidgetKeyMessage:
      type: object
      properties:
        message:
          type: string
          example: Key not found for this account
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.