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.

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

Per-connection, per-user options set by the end user after OAuth.

Contrast with IntegrationConfig.index_options which is app-wide. These values live on the specific Connection because they depend on the tenant (e.g., which Teams channels this user wants indexed).

channels
string[]