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

# Delete Phone Number

> Delete a phone number registration for an agent.

For LiveKit-managed numbers:
- Releases the phone number from LiveKit (you're still billed for the month)
- Deletes the dispatch rule
- Removes from database

For external provider numbers:
- Deletes the dispatch rule from LiveKit
- Removes from database
- You must manually remove the SIP URI from your provider's dashboard



## OpenAPI

````yaml https://api.mrassistant.ai/openapi.json delete /agents/{agent_id}/phone-numbers/{phone_number}
openapi: 3.1.0
info:
  title: Backend - Multilingual Voice Agent System
  description: FastAPI backend for multilingual voice agents with tool use
  version: 1.0.0
servers: []
security: []
paths:
  /agents/{agent_id}/phone-numbers/{phone_number}:
    delete:
      tags:
        - agent-phone-numbers
      summary: Delete Phone Number
      description: >-
        Delete a phone number registration for an agent.


        For LiveKit-managed numbers:

        - Releases the phone number from LiveKit (you're still billed for the
        month)

        - Deletes the dispatch rule

        - Removes from database


        For external provider numbers:

        - Deletes the dispatch rule from LiveKit

        - Removes from database

        - You must manually remove the SIP URI from your provider's dashboard
      operationId: >-
        delete_phone_number_agents__agent_id__phone_numbers__phone_number__delete
      parameters:
        - name: agent_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Agent Id
        - name: phone_number
          in: path
          required: true
          schema:
            type: string
            title: Phone Number
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    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
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````