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

# Update phone number

> Renames a phone number. The name is a label shown in the workspace; it does not change the number, its provider, or where it routes.



## OpenAPI

````yaml /specs-prettified/realtime/openapi.stable.json patch /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}:
    patch:
      tags:
        - Phone Number
      summary: Update phone number
      description: Renames a phone number. The name is a label shown in the workspace;
        it does not change the number, its provider, or where it routes.
      operationId: StablePhoneNumberController_update
      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.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/StablePhoneNumberUpdateRequest"
      responses:
        "200":
          description: Confirms the phone number was updated. The body is a message only,
            so refetch the phone number to see its new name.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/StableUpdateResponse"
          x-vf-doc:
            description: Confirms the phone number was updated. The body is a message only,
              so refetch the phone number to see its new name.
      security:
        - token: []
components:
  schemas:
    StablePhoneNumberUpdateRequest:
      type: object
      properties:
        name:
          type: string
          description: The display name of the number within the workspace. Callers never
            see it.
      required:
        - name
      additionalProperties: false
    StableUpdateResponse:
      type: object
      properties:
        message:
          type: string
          description: A human-readable message confirming the update.
      required:
        - message
  securitySchemes:
    token:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: Voiceflow bearer token
````
