| Property | Value |
|---|---|
| Method | POST |
| Endpoint | https://{{host}}/api/{{version-Id}}/public/bot/{{botId}}/language/status |
| Content Type | application/json |
| Authorization | auth: {{JWT}} — See How to generate the JWT Token. |
| API Scope | App Builder: Language Configuration; Admin Console: Language Settings > Language Management |
Path Parameters
| Parameter | Description | Required |
|---|---|---|
host | The environment URL. For example, https://platform.kore.ai | Required |
Sample Request
'https://{{host}}/api/{{version-Id}}/public/bot/{{botId}}/language/status' \
--header 'Content-Type: application/json' \
--header 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \
--data '{
"language" : "",
"enable": false
}'
Body Parameters
| Parameter | Description | Required |
|---|---|---|
language | The language code of the language to disable. | Required |
enable | Set to false to disable the language. | Required |
Sample Response
Disabled Spanish language successfully