Delete a custom voice
curl --request DELETE \
--url https://api.opper.ai/v3/audio/voices/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.opper.ai/v3/audio/voices/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.opper.ai/v3/audio/voices/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"deleted": true,
"id": "<string>",
"object": "voice"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {}
}Audio
Delete Voice
Delete one of the project’s custom voices. Removes it upstream at the provider too; the reference sample was never stored.
DELETE
/
v3
/
audio
/
voices
/
{id}
Delete a custom voice
curl --request DELETE \
--url https://api.opper.ai/v3/audio/voices/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.opper.ai/v3/audio/voices/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.opper.ai/v3/audio/voices/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"deleted": true,
"id": "<string>",
"object": "voice"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {}
}