AgentConnect
Sessions

Set Google Chat session access sync

Owner-only setting. When enabled, Google Chat sessions follow the provider's current audience; unresolved history remains hidden.

PUT
/v1/orgs/{orgId}/session-access/googlechat

授权

bearerAuth
授权Bearer <token>

位置: header

路径参数

orgId*string

请求主体

application/json

TypeScript 定义

在 TypeScript 中使用 request body 类型。

响应主体

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/orgs/string/session-access/googlechat" \  -H "Content-Type: application/json" \  -d '{    "enabled": true  }'
{  "provider": "slack",  "available": true,  "enabled": true,  "state": "disabled",  "currentRevision": "string",  "readFenceRevision": "string",  "hiddenSessions": 0}