curl --request PUT \
--url https://apimgmt.cometchat.io/apps/{appId}/extensions/human-moderation/v1/settings \
--header 'Content-Type: application/json' \
--header 'key: <key>' \
--header 'secret: <secret>' \
--data '{}'{
"data": {
"statusCode": 200,
"success": true,
"responseTime": 3.061743974685669,
"body": {
"data": {
"settings": {
"allUserMessages": false,
"allGroupMessages": false,
"senders": [
"cometchat-uid-1",
"cometchat-uid-2"
],
"receiverGroups": [
"cometchat-guid-1"
],
"receiverUsers": [
"cometchat-uid-3"
],
"allMessages": false
}
}
}
}
}In-flight message moderation : Update the settings for In-flight message moderation extension.
curl --request PUT \
--url https://apimgmt.cometchat.io/apps/{appId}/extensions/human-moderation/v1/settings \
--header 'Content-Type: application/json' \
--header 'key: <key>' \
--header 'secret: <secret>' \
--data '{}'{
"data": {
"statusCode": 200,
"success": true,
"responseTime": 3.061743974685669,
"body": {
"data": {
"settings": {
"allUserMessages": false,
"allGroupMessages": false,
"senders": [
"cometchat-uid-1",
"cometchat-uid-2"
],
"receiverGroups": [
"cometchat-guid-1"
],
"receiverUsers": [
"cometchat-uid-3"
],
"allMessages": false
}
}
}
}
}For the complete error reference, see Error Guide.Documentation Index
Fetch the complete documentation index at: https://www.cometchat.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
AppID in which the extension has to be enabled/disabled
Show child attributes
Update In-flight message moderation Settings
Show child attributes
Was this page helpful?