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

Update an inbound email rule.

PATCH/api/v1/email-rules/{email_rule_id}email_rules:write
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Changes the name, condition, config, enabled flag or stop flag. The order moves through the reorder route.

スコープemail_rules:write
非同期いいえ
MCP ツールupdate_email_rule
Portal の権限edit_inbound_email_rules

パラメーター​

名前場所型必須説明
email_rule_idpathstring必須
Docwize-Versionheaderstring (date)任意
If-Matchheaderstring任意

リクエスト本文​

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

応答​

ステータス説明本文
200Success.application/json EmailRule または 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
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 のコードです。各コードからそのページに移動できます。

スキーマ​

EmailRule​

フィールド型必須説明
configobject必須What the rule does with a matching email: format email_rule_config.
created_byUserRef または null必須
created_datestring または null必須
email_rule_idstring必須
is_enabledboolean必須
parse_orderinteger または null必須
parsing_ruleobject必須The condition an email must meet: format email_rule_condition.
rule_namestring必須
stop_processingboolean必須Whether a match ends the rules tried after this one.

EmailRulePatchInput​

フィールド型必須説明
configobject または null任意
created_byUserRefInput または null任意
created_datestring または null任意
email_rule_idstring または null任意
is_enabledboolean または null任意
parse_orderinteger または null任意
parsing_ruleobject または null任意
rule_namestring または null任意
stop_processingboolean または null任意

UserRef​

フィールド型必須説明
display_namestring必須
kindstring: user, system, integration または string必須
user_idstring または null必須

UserRefInput​

フィールド型必須説明
display_namestring任意
kindstring: user, system, integration任意
user_idstring または null任意