***

title: update
slug: /reference/python/rest/phone-numbers/update
description: Update configuration for a phone number.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Update configuration for a phone number. Uses PUT.

<EndpointSchemaSnippet endpoint="PUT /api/relay/rest/phone_numbers/{id}" />

## **Response Example**

<EndpointResponseSnippet endpoint="PUT /api/relay/rest/phone_numbers/{id}" />

## **Example**

```python {9}
from signalwire.rest import RestClient

client = RestClient(
    project="your-project-id",
    token="your-api-token",
    host="your-space.signalwire.com",
)

client.phone_numbers.update("phone-number-id", name="Support Line")
```