Skip to content

Disable an Existing Language API

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}} See How to generate the JWT Token.
API Scope
  • Bot Builder: Language Configuration
  • Admin Console: Language Settings > Language Management

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