To disable an existing language for a virtual assistant.
Method | POST |
Endpoint | https://{{host}}/api/{{version-Id}}/public/bot/{{botId}}/language/status
|
Content Type | application/json |
Authorization | auth: {{JWT}}
|
API Scope |
|
Path Parameters
Parameter | Description | Mandate |
---|---|---|
host | The environment URL. For example, https://bots.kore.ai |
Required |
Sample Request
https://{{host}}/api/{{version-Id}}/public/bot/{{botId}}/language/status \ -H ‘Content-Type: application/json' \ -H 'auth: YOUR_JWT_ACCESS_TOKEN' \ -d '[ { “language” : , “enable”: false }]'
Body Parameters
Parameter | Description | Mandate |
---|---|---|
language | The language code of the language to be disabled. | Required |
enable | The enable configuration is set to False. | Required |
Sample Response
Disabled Spanish language successfully