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

# Delete phone number

> Removes a phone number from the workspace, so it stops answering calls and messages; unassign it instead to keep the number. The response carries only a confirmation message, so refetch the phone numbers to see what is left.



## OpenAPI

````yaml /specs-prettified/realtime/openapi.stable.json delete /v1/stable/phone-number/{phoneNumberID}
openapi: 3.0.0
info:
  title: Realtime
  description: Realtime gateway API service
  version: 1.0.0
  contact: {}
servers:
  - url: https://realtime-api.voiceflow.com
security: []
tags: []
paths:
  /v1/stable/phone-number/{phoneNumberID}:
    delete:
      tags:
        - Phone Number
      summary: Delete phone number
      description: Removes a phone number from the workspace, so it stops answering
        calls and messages; unassign it instead to keep the number. The response
        carries only a confirmation message, so refetch the phone numbers to see
        what is left.
      operationId: StablePhoneNumberController_delete
      parameters:
        - name: phoneNumberID
          required: true
          in: path
          schema:
            type: string
          x-vf-doc:
            description: The ID of the phone number to operate on.
          description: The ID of the phone number to operate on.
        - name: workspaceID
          required: true
          in: query
          schema:
            type: string
            description: The ID of the workspace the number belongs to.
      responses:
        "200":
          description: Confirms the phone number was deleted. The body is a message only,
            so list the workspace's phone numbers to see the ones you still
            hold.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/StableDeleteResponse"
          x-vf-doc:
            description: Confirms the phone number was deleted. The body is a message only,
              so list the workspace's phone numbers to see the ones you still
              hold.
      security:
        - token: []
components:
  schemas:
    StableDeleteResponse:
      type: object
      properties:
        message:
          type: string
          description: A human-readable message confirming the deletion.
      required:
        - message
  securitySchemes:
    token:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: Voiceflow bearer token
````
