POST
/
apps
/
{appId}
/
extensions
/
virus-malware-scanner
/
v1
/
settings
Virus Malware Scanner Store settings
curl --request POST \
  --url https://apimgmt.cometchat.io/apps/{appId}/extensions/virus-malware-scanner/v1/settings \
  --header 'Content-Type: application/json' \
  --header 'key: <key>' \
  --header 'secret: <secret>' \
  --data '{
  "settings": {
    "scaniiApiKey": "1q6Re9CYAAfzLZyB8F4eMNX0Pslyv222",
    "scaniiSecretKey": "f5c0102d"
  }
}'
{
  "data": {
    "statusCode": 200,
    "success": true,
    "responseTime": 1.8547508716583252,
    "body": {
      "data": {
        "settings": {
          "scaniiApiKey": "1q6Re9CYAAfzLZyB8F4eMNX0Pslyv222",
          "scaniiSecretKey": "f5c0102d"
        }
      }
    }
  }
}

Headers

key
string
required

Authorization Key

secret
string
required

Authorization Secret

Path Parameters

appId
string
required

AppID in which the extension has to be enabled/disabled

Body

application/json

Response

200 - application/json

Store Virus Malware Scanner Settings

The response is of type object.