PUT
/
api
/
v3
/
network-settings
/
social
Update social configuration.
curl --request PUT \
  --url https://apix.us.amity.co/api/v3/network-settings/social \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "userPrivacySetting": "public",
  "isFollowWithRequestEnabled": false,
  "isAllowEditPostWhenReviewingEnabled": true,
  "showOnlyMyFeed": false,
  "showMyPost": true,
  "showEveryonePost": true,
  "showCommunityPost": true,
  "showFollowingPost": true,
  "isAllowMentionedChannelEnabled": true,
  "disallowNonMemberInteractInCommunity": true,
  "storyExpiryTimeMinutes": 1440,
  "allowAllUserToCreateStory": true,
  "allowJoinPrivateCommunity": true,
  "maxGlobalPinnedPost": 1
}'
{
  "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
  }
}

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

Social configuration

The response is of type object.