Account

PUT /account

Path

PUT "https://api.botengine.ai/account"

Example request

curl -X PUT \
  https://api.botengine.ai/account \
  -H 'authorization: Bearer ${DEVELOPER_ACCESS_TOKEN}' \
  -H 'content-type: application/json' \
  -d '{
    "settings": {
        "confidence": 0.7,
        "lifespan": 2
    }
}'

Example response

{
  "timestamp": "2017-04-12T14:14:36.579Z",
  "status": {
    "code": 200,
    "errorType": "success"
  }
}

Updates license settings.

Parameters

Property Type Description
settings.confidence Number Defines the threshold value for the confidence score.
Size range: 0 - 1
settings.lifespan Number Maximum errors in your conversation. Session data will be restarted once the limit is reached.
Size range: 1 - 10

Body

{
    "settings": {
        "confidence": 0.7,
        "lifespan": 2
    }
}