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

# Edit a number

> **LEGACY.** This endpoint keeps working unchanged. For new integrations, use [Update a number](/api-reference/numbers/update-a-number) to change a number's settings and [Replace a number's call flow](/api-reference/call-flows/replace-a-numbers-call-flow) to route it, on `https://api.cloudtalk.io/v1`.

Updates the number identified by `id`. `internal_name` sets the number's internal label, and `connected_to` with `source_id` set what it routes to. Send `connected_to` and `source_id` on every request: the endpoint renames a number only by also rerouting it. To strip a number's routing entirely, use Unregister a number instead. Returns `404` if no number has that ID.

Note the core API updates with `POST`, not `PUT`.



## API Specification

The full API specification for this endpoint is available in the [documentation index](https://help.cloudtalk.io/llms.txt).


## Related topics

- [Edit number on blacklist](https://help.cloudtalk.io/api-reference/utilities/edit-number-on-blacklist.md)
- [Replace a number's call flow](https://help.cloudtalk.io/api-reference/call-flows/replace-a-numbers-call-flow.md)
- [Start / Stop Recordings](https://help.cloudtalk.io/en/articles/9813235-start-stop-recordings.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.