PUT
/
api
/
v3
/
network-settings
Update network setting configuration.
curl --request PUT \
  --url https://apix.us.amity.co/api/v3/network-settings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "networkId": "<string>",
  "tierHandler": "<string>",
  "socialEnabled": true,
  "videoStreamingEnabled": true,
  "chatEnabled": true,
  "isWhitelistEnabled": true
}'
{
  "videoStreaming": {
    "enabled": true
  },
  "chat": {
    "enabled": true,
    "mention": {
      "isAllowMentionedChannelEnabled": true
    },
    "messagePreview": {
      "enabled": false,
      "isIncludeDeleted": false
    },
    "isAllowAdminViewConversationMessage": true,
    "isAllowAdminManageConversationMessage": true,
    "allowMemberToUpdateConversationChannel": false
  },
  "social": {
    "enabled": true,
    "userPrivacySetting": "public",
    "membershipAcceptance": "automatic",
    "isFollowWithRequestEnabled": false,
    "isAllowEditPostWhenReviewingEnabled": true,
    "disallowNonMemberInteractInCommunity": true,
    "allowJoinPrivateCommunity": false,
    "globalFeed": {
      "showOnlyMyFeed": false,
      "showMyPost": true,
      "showEveryonePost": true,
      "showCommunityPost": true,
      "showFollowingPost": true,
      "maxGlobalPinnedPost": 123
    },
    "story": {
      "expiryTimeMinutes": 720,
      "allowAllUserToCreateStory": false
    }
  },
  "webhook": {
    "enabled": true
  },
  "moderation": {
    "isWhitelistEnabled": true
  },
  "tierHandler": "<string>"
}

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

network setting configuration

The response is of type object.