Delete Voice
Delete a custom voice from your workspace.
DELETE
Headers
x-workspace-idstringrequiredWorkspace identifier for the API.
Path Parameters
idstringrequiredThe custom voice's id, as returned by Create Custom Voice or List Custom Voices. Only custom voices created in this workspace can be deleted; catalog voices from Search Voices can't.
Response Fields
successbooleanWhether the deletion was successful.
Errors
| Status | Body | When |
|---|---|---|
400 | {"error": "Workspace ID is required"} | No x-workspace-id |
404 | {"error": "Voice not found or doesn't belong to this workspace"} | The ID isn't a custom voice of this workspace |
500 | {"error": "..."} | Anything else |
Agents that still use a deleted voice are not updated. Give them another voice first.
{
"success": true
}Last updated on