---
title: "Update a voice deployment"
method: PUT
path: "/api/workers/{workerId}/deployments/voice/{deploymentId}"
tags: ["Voice Deployments"]
---

# Update a voice deployment

`PUT /api/workers/{workerId}/deployments/voice/{deploymentId}`

## Path parameters

- `workerId` string, required
- `deploymentId` string, required

## Request body

- VoiceDeploymentRequest
  - `name` string, required — Name of the voice deployment
  - `phoneNumber` string — Phone number for the voice deployment
  - `voiceProvider` string — Voice provider service
  - `voiceId` string — Voice ID for the deployment

## Response `200`

Updated voice deployment

- VoiceDeployment
  - `id` string, required
  - `phoneNumber` string, nullable
  - `voiceProvider` string, nullable
  - `voiceId` string, nullable
  - `delegate_aux_deploymentsId` string

## Other responses

- `400` — Invalid request body
- `401` — Unauthorized
- `404` — Voice deployment not found

## Changes

- **2025-02-04** `ab4ce60666d2` — 1 breaking, 1 info
  - removed the required property `delegate_aux_deployments` from the response with the `200` status
  - added the optional property `delegate_aux_deploymentsId` to the response with the `200` status
- **2025-02-04** `78ff4a594abd` — 3 breaking, 3 info
  - added the new required request property `name`
  - the request's body type/format changed from ``/`` to `object`/``
  - the `delegate_aux_deployments` response's property type/format changed from `deployments`/`` to `object`/`` for status `200`
  - added the new optional request property `phoneNumber`
  - …2 more
- **2025-02-04** `a3da5c68a303` — 1 breaking, 6 warning, 1 info
  - the request's body type/format changed from `object`/`` to ``/``
  - removed the request property `config`
  - removed the request property `flowId`
  - removed the request property `name`
  - …4 more

[Change history](https://skmtc.dev/brainbasehq/apis/brainbase-api/changes/api/workers/:workerId/deployments/voice/:deploymentId/put.md)

---

[API](https://skmtc.dev/brainbasehq/apis/brainbase-api.md) · [All operations](https://skmtc.dev/brainbasehq/apis/brainbase-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/brainbasehq/brainbase-api/revisions/ab4ce60666d2/schema)
