Delete cloned voice
curl --request DELETE \
--url https://supertoneapi.com/v1/custom-voices/{voice_id} \
--header 'x-sup-api-key: <api-key>'import requests
url = "https://supertoneapi.com/v1/custom-voices/{voice_id}"
headers = {"x-sup-api-key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'x-sup-api-key': '<api-key>'}};
fetch('https://supertoneapi.com/v1/custom-voices/{voice_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://supertoneapi.com/v1/custom-voices/{voice_id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("x-sup-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://supertoneapi.com/v1/custom-voices/{voice_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"x-sup-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.delete("https://supertoneapi.com/v1/custom-voices/{voice_id}")
.header("x-sup-api-key", "<api-key>")
.asString();{
"status": "error",
"message": {
"message": "Invalid API Key",
"error": "Unauthorized"
}
}{
"status": "error",
"message": {
"message": "Voice not found",
"error": "Not Found"
}
}{
"status": "error",
"message": {
"message": "Failed to convert text to speech",
"error": "Internal Server Error"
}
}Custom voices
Delete custom voice
Permanently delete a custom (cloned) voice from your account.
DELETE
/
v1
/
custom-voices
/
{voice_id}
Delete cloned voice
curl --request DELETE \
--url https://supertoneapi.com/v1/custom-voices/{voice_id} \
--header 'x-sup-api-key: <api-key>'import requests
url = "https://supertoneapi.com/v1/custom-voices/{voice_id}"
headers = {"x-sup-api-key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'x-sup-api-key': '<api-key>'}};
fetch('https://supertoneapi.com/v1/custom-voices/{voice_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://supertoneapi.com/v1/custom-voices/{voice_id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("x-sup-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://supertoneapi.com/v1/custom-voices/{voice_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"x-sup-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.delete("https://supertoneapi.com/v1/custom-voices/{voice_id}")
.header("x-sup-api-key", "<api-key>")
.asString();{
"status": "error",
"message": {
"message": "Invalid API Key",
"error": "Unauthorized"
}
}{
"status": "error",
"message": {
"message": "Voice not found",
"error": "Not Found"
}
}{
"status": "error",
"message": {
"message": "Failed to convert text to speech",
"error": "Internal Server Error"
}
}Permanently removes a custom voice. This is irreversible.
Existing audio clips you’ve already generated with the voice are not affected. Only the voice itself is removed — future TTS calls referencing the deleted
voice_id will return 404 Not Found.Endpoint
DELETE https://supertoneapi.com/v1/custom-voices/{voice_id}
Path parameters
| Name | Required | Description |
|---|---|---|
voice_id | ✅ | The ID of the custom voice to delete. |
Response
Returns200 OK on success with an empty body.
Errors
| Status | Cause |
|---|---|
404 Not Found | The voice doesn’t exist on your account. |
403 Forbidden | The voice belongs to a different account. |
See also
Docs: Custom voices
Full custom-voice lifecycle.
List custom voices
Browse your custom voices before deleting.