Skip to main content
PUT
/
api
/
v3
/
network-settings
/
public-users
Update public users configuration
curl --request PUT \
  --url https://apix.us.amity.co/api/v3/network-settings/public-users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "publicUserVisitorEnabled": true,
  "publicUserBotEnabled": true,
  "publicUserSecure": true
}'
{
  "visitorEnabled": true,
  "botEnabled": true,
  "secure": true
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Information of public users to be updated.

publicUserVisitorEnabled
boolean
publicUserBotEnabled
boolean
publicUserSecure
boolean

Response

Public users configuration

visitorEnabled
boolean

Enable or disable visitor users (users without authentication)

botEnabled
boolean

Enable or disable bot users

secure
boolean

Enable or disable secure mode for public users

I