Update a LINE chat channel (JSON Merge Patch).
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
Changes the channel's display name, Oliver agent, match feedback target, forwarding policy, enabled flag, permission mode, tool override and attachment folders. The LINE route follows the enabled flag. Needs Edit Chat Channels. A staff-only field cannot be set on an external_customer channel. A progressive agent cannot answer on a channel: it is refused as an agent that does not exist. The full response also requires View Chat Channels; otherwise the response is a write receipt. Health is null without View Connector Diagnostics.
バージョン 2026-12-01。 完全な応答には view_chat_channels と view_connector_diagnostics の両方の権限が必要です。権限がない場合、応答は ID の受領情報になります。health は完全な応答に常に含まれます。
| スコープ | chat_channels:write (機密性の高いスコープ) |
| 非同期 | いいえ |
| MCP ツール | update_chat_channel |
| Portal の権限 | edit_chat_channels |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
chat_channel_id | path | string | 必須 | |
Docwize-Version | header | string (date) | 任意 | |
If-Match | header | string | 任意 |
リクエスト本文
| Content-Type | 型 |
|---|---|
application/json | ChatChannelPatchInput |
application/merge-patch+json | ChatChannelPatchInput |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json ChatChannel または object |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
409 | conflict | application/problem+json Problem |
412 | precondition_failed | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
ChatChannel
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
allowed_tools_override | string の配列 | 必須 | |
audience_scope | string | 必須 | internal_rep or external_customer (open). |
channel_identifier | string | 必須 | |
chat_channel_id | string | 必須 | |
customer_forwarding_policy | string または null | 必須 | |
display_name | string または null | 必須 | |
enabled | boolean | 必須 | |
folder_id | string または null | 必須 | The folder that receives sent files. |
has_credentials | boolean | 必須 | Whether the channel's credentials are held in the managed store. |
health | ChatChannelHealth または null | 必須 | Null without View Connector Diagnostics. |
match_feedback_target | object | 必須 | |
oliver_agent_id | string または null | 必須 | The Oliver agent that answers on this channel. |
parent_folder_id | string または null | 必須 | The parent of each person's private intake folder. |
permission_mode | string | 必須 | ask or auto. |
provisioning_state | string | 必須 |
ChatChannelHealth
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
blocked_user_count | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
failed_delivery_count | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
last_inbound_at | string (date-time) または null | 必須 | |
last_sent_at | string (date-time) または null | 必須 | |
linked_user_count | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
pending_delivery_count | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
ChatChannelPatchInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
allowed_tools_override | string の配列 または null | 任意 | |
audience_scope | string または null | 任意 | |
channel_identifier | string または null | 任意 | |
chat_channel_id | string または null | 任意 | |
customer_forwarding_policy | string または null | 任意 | |
display_name | string または null | 任意 | |
enabled | boolean または null | 任意 | |
folder_id | string または null | 任意 | |
has_credentials | boolean または null | 任意 | |
match_feedback_target | object または null | 任意 | |
oliver_agent_id | string または null | 任意 | |
parent_folder_id | string または null | 任意 | |
permission_mode | string または null | 任意 | |
provisioning_state | string または null | 任意 |