api:flexcare:dialog:languages:update
Table of Contents
API : FlexCare : Dialog : Languages : Update
Introduction
This endpoint is used to update an already existing language
Request
| URL | https://api.telecomx.dk/flexcare/dialog/language/LANGUAGE_ID | ||
|---|---|---|---|
| Method | POST | ||
| Access level | RESELLER_ADMIN, ADMIN | ||
| Params | LANGUAGE_ID | Unique id of the language to update | |
| Body | name | String | Name of language in English |
| nativeName | String | Native name of the language | |
| code | String<ISO 639-1> | Language code | |
| country | String<ISO 3166> | Code of the country | |
| keyboardCountry | String<ISO 3166> | Country to use for keyboard | |
| keyboardLang | String<ISO 639-1> | Language to use for keyboard | |
| model | String | AI Model to use for TTS, STT and Translation | |
| speak | String<ISO 639-1> | Code of language to speak in | |
| translation | String<'ollama', 'nllb'> | Which engine should be used | |
| verify | Boolean | If true the model will double check whether translation is correct Only on supported models Default: false |
|
| voice | String | Voice to use for TTS | |
| keyboardConfigString | String | Keyboard layout configuration | |
Query example
https://api.telecomx.dk/flexcare/dialog/language/1234567890qwertyuiopqwer
Response
| JSON Object | ||
|---|---|---|
| success | boolean | Whether the language has been updated or not |
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 404 | not_found | Language not found |
| 500 | internal_error | <Unspecified> |
api/flexcare/dialog/languages/update.txt · Last modified: 2025/07/14 10:05 by Mikkel Frederiksen