PUT
/
api
/
v3
/
network-settings
/
chat
Update chat network setting configuration.
curl --request PUT \
  --url https://apix.us.amity.co/api/v3/network-settings/chat \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "isAllowMentionedChannelEnabled": false,
  "messagePreviewSetting": {
    "enabled": false,
    "isIncludeDeleted": false
  },
  "isAllowAdminViewConversationMessage": true,
  "isAllowAdminManageConversationMessage": true,
  "allowMemberToUpdateConversationChannel": false
}'
{
  "enabled": true,
  "mention": {
    "isAllowMentionedChannelEnabled": true
  },
  "messagePreview": {
    "enabled": false,
    "isIncludeDeleted": false
  },
  "isAllowAdminViewConversationMessage": true,
  "isAllowAdminManageConversationMessage": true,
  "allowMemberToUpdateConversationChannel": false
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

information for a network setting

The body is of type object.

Response

200
application/json

Chat configuration

The response is of type object.