メインコンテンツまでスキップ

Update a LINE chat channel (JSON Merge Patch).

PATCH/api/v1/chat-channels/{chat_channel_id}chat_channels:write
注記

このページの操作の説明は、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_idpathstring必須
Docwize-Versionheaderstring (date)任意
If-Matchheaderstring任意

リクエスト本文​

Content-Type型
application/jsonChatChannelPatchInput
application/merge-patch+jsonChatChannelPatchInput

応答​

ステータス説明本文
200Success.application/json ChatChannel または object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409conflictapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

ChatChannel​

フィールド型必須説明
allowed_tools_overridestring の配列必須
audience_scopestring必須internal_rep or external_customer (open).
channel_identifierstring必須
chat_channel_idstring必須
customer_forwarding_policystring または null必須
display_namestring または null必須
enabledboolean必須
folder_idstring または null必須The folder that receives sent files.
has_credentialsboolean必須Whether the channel's credentials are held in the managed store.
healthChatChannelHealth または null必須Null without View Connector Diagnostics.
match_feedback_targetobject必須
oliver_agent_idstring または null必須The Oliver agent that answers on this channel.
parent_folder_idstring または null必須The parent of each person's private intake folder.
permission_modestring必須ask or auto.
provisioning_statestring必須

ChatChannelHealth​

フィールド型必須説明
blocked_user_countinteger必須≥ -2147483648; ≤ 2147483647
failed_delivery_countinteger必須≥ -2147483648; ≤ 2147483647
last_inbound_atstring (date-time) または null必須
last_sent_atstring (date-time) または null必須
linked_user_countinteger必須≥ -2147483648; ≤ 2147483647
pending_delivery_countinteger必須≥ -2147483648; ≤ 2147483647

ChatChannelPatchInput​

フィールド型必須説明
allowed_tools_overridestring の配列 または null任意
audience_scopestring または null任意
channel_identifierstring または null任意
chat_channel_idstring または null任意
customer_forwarding_policystring または null任意
display_namestring または null任意
enabledboolean または null任意
folder_idstring または null任意
has_credentialsboolean または null任意
match_feedback_targetobject または null任意
oliver_agent_idstring または null任意
parent_folder_idstring または null任意
permission_modestring または null任意
provisioning_statestring または null任意