Skip to main content
PATCH
Update per-connection user options (e.g., channel allowlist)

Authorizations

Authorization
string
header
required

API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.

Headers

X-As-User
string | null

Optionally set this header to act as a specific user when using an API Key, equivalent to first exchanging the API Key for a User Token

Path Parameters

integration_id
string
required
connection_id
string
required

Body

application/json
channels
string[] | null

Channel/chat IDs to index. For required-selection integrations (Teams) an empty list blocks all; for optional-selection integrations (Slack) an empty list indexes all. Deselected channels' indexed data is purged.

Response

Successful Response

Options selected by a user for a specific connection.

For example, a user can choose which Teams channels to index.

channels
string[]