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

# Remove DND Number

> Removes a number from an agent's do-not-disturb list. The agent may call the number again afterwards.



## OpenAPI

````yaml DELETE /v1/dnd_numbers
openapi: 3.1.0
info:
  title: OSVI AI API
  description: REST API for the OSVI AI voice and chat platform
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.osvi.ai
security:
  - ApiToken: []
paths:
  /v1/dnd_numbers:
    delete:
      summary: Remove a DND number
      description: >-
        Removes a number from an agent's do-not-disturb list. The agent may call
        the number again afterwards.
      parameters:
        - name: agent_uuid
          in: query
          required: true
          schema:
            type: string
          example: agent_IsZ3Q6Sf_60Eh26XQMGbz-R_og
        - name: phone
          in: query
          required: true
          schema:
            type: string
          example: '9876543210'
      responses:
        '200':
          description: The number was removed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Phone removed from DND list
        '400':
          description: '`agent_uuid` or `phone` is missing.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBadRequest'
              example:
                success: false
                error: 'param is missing or the value is empty: phone'
                details: null
        '401':
          description: Invalid or missing API token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorUnauthorized'
        '404':
          description: >-
            The agent is not on your account, or the number is not on the DND
            list.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorNotFound'
              example:
                success: false
                error: Phone number not found on DND list
                details: null
components:
  schemas:
    ErrorBadRequest:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
          example: max_call_duration_seconds must be between 30 and 1800
        details:
          type: object
          nullable: true
          example: null
    ErrorUnauthorized:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
          example: Invalid API token
    ErrorNotFound:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
          example: agent_not_found
        details:
          type: object
          nullable: true
          example: null
  securitySchemes:
    ApiToken:
      type: apiKey
      in: header
      name: API-Token
      description: >-
        16-character API token associated with your OSVI account. Find it in
        your dashboard under Settings → API.

````