Skip to main content
PATCH
Update channel privacy

Authorizations

Authorization
string
header
required

WorkOS session token or RunTools API key (rt_live_* / rt_test_*). Used in Authorization: Bearer <token> header.

Path Parameters

channelId
string<uuid>
required

Body

application/json
mode
enum<string>
required
Available options:
approved_only,
public,
disabled
allowPrivateChats
boolean
required
allowGroups
boolean
required
unauthorizedReply
enum<string>
required
Available options:
silent,
message

Response

200 - application/json

Privacy updated.

data
object