Path Parameters
AppID in which the extension has to be enabled/disabled
Body
application/json
Response
200 - application/json
Update Sentiment analysis Settings
curl --request PUT \
  --url https://apimgmt.cometchat.io/apps/{appId}/extensions/sentiment-analysis/v1/settings \
  --header 'Content-Type: application/json' \
  --header 'key: <key>' \
  --header 'secret: <secret>' \
  --data '{
  "settings": {
    "dropMessage": true
  }
}'{
  "data": {
    "statusCode": 200,
    "success": true,
    "responseTime": 3.061743974685669,
    "body": {
      "data": {
        "settings": {
          "dropMessage": false
        }
      }
    }
  }
}Sentiment analysis : Update the settings for Sentiment analysis extension
curl --request PUT \
  --url https://apimgmt.cometchat.io/apps/{appId}/extensions/sentiment-analysis/v1/settings \
  --header 'Content-Type: application/json' \
  --header 'key: <key>' \
  --header 'secret: <secret>' \
  --data '{
  "settings": {
    "dropMessage": true
  }
}'{
  "data": {
    "statusCode": 200,
    "success": true,
    "responseTime": 3.061743974685669,
    "body": {
      "data": {
        "settings": {
          "dropMessage": false
        }
      }
    }
  }
}AppID in which the extension has to be enabled/disabled
Show child attributes
Update Sentiment analysis Settings
Show child attributes
Was this page helpful?