> ## 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.

# Disconnect WhatsApp Number

> Disconnect a WhatsApp Business number from Bolna. It stops answering calls immediately, and its calling settings on Meta are left in place. Disconnecting the last number also releases its WhatsApp Business Account.



## OpenAPI

````yaml DELETE /whatsapp/numbers/{number_id}
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:
  /whatsapp/numbers/{number_id}:
    delete:
      description: >-
        Disconnect a WhatsApp number from Bolna. The number stops answering
        WhatsApp calls immediately. Its calling settings on Meta are left as
        they are, so you can connect it again later. Disconnecting the last
        number of a WhatsApp Business Account also removes that account's
        connection and its stored token from Bolna, so the account can then be
        connected to a different Bolna account.
      parameters:
        - in: path
          name: number_id
          required: true
          schema:
            type: string
          description: The `number_id` returned when the number was connected
      responses:
        '200':
          description: Number disconnected
          content:
            application/json:
              example:
                number_id: 9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d
                deleted: true
        '404':
          description: number not found for this account
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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