Delete pronunciation dictionary
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://blackbox.dasha.ai/api/v1/pronunciation-dictionaries/{providerId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://blackbox.dasha.ai/api/v1/pronunciation-dictionaries/{providerId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://blackbox.dasha.ai/api/v1/pronunciation-dictionaries/{providerId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Delete pronunciation dictionary
Permanently deletes a pronunciation dictionary and automatically removes all references from agents that use this dictionary.
DELETE
/
api
/
v1
/
pronunciation-dictionaries
/
{providerId}
Delete pronunciation dictionary
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://blackbox.dasha.ai/api/v1/pronunciation-dictionaries/{providerId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://blackbox.dasha.ai/api/v1/pronunciation-dictionaries/{providerId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://blackbox.dasha.ai/api/v1/pronunciation-dictionaries/{providerId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}This operation permanently deletes the pronunciation dictionary and cannot be undone.
Cascade Deletion
The deletion process automatically:- Deletes the pronunciation dictionary
- Removes references from all agents using this dictionary
- Updates affected agent configurations
/affected-agents endpoint.Path Parameters
Dictionary identifier
Response
Pronunciation dictionary deleted successfully
Was this page helpful?