Skip to main content
PUT
Update chat access

Authorizations

Authorization
string
header
required

API key authentication using Bearer token format: Bearer <basedash_api_key>

Path Parameters

orgId
string
required

Organization ID

chatId
string
required

Chat ID

Body

application/json
mode
enum<string>
required
Available options:
everyone
groupAccess
object[]
required

Organization groups and their access level. Required: send [] for none.

Maximum array length: 500
memberAccess
object[]
required

Organization members and their access level. Required: send [] for none.

Maximum array length: 500
accessLevel
enum<string>
default:VIEW

Access level for every member of the organization

Available options:
MANAGE,
EDIT,
VIEW

Response

Chat access updated successfully

data
object
required