탐색으로 건너뛰기

Update Rule

Replace an existing rule on the named receptionist. Send every field: an omitted priority resets to strict.

경로 매개변수

agent_idstring필수
rule_idstring필수

헤더

xi-api-keystring선택 사항
xi-workspace-idstring or null선택 사항
The customer workspace a reseller's API key acts on.

요청

This endpoint expects an object.
titlestring필수
Title of the rule.
descriptionstring필수
What the agent should do, in detail.
priorityenum선택 사항기본값 strict

strict: the agent must always follow the rule; suggestion: a guideline.

허용된 값:

응답

성공 응답

titlestring
Title of the rule.
descriptionstring
What the agent should do, in detail.
priorityenum선택 사항기본값 strict

strict: the agent must always follow the rule; suggestion: a guideline.

허용된 값:
idstring선택 사항
created_at_unixinteger선택 사항

Unix timestamp (seconds since epoch)

오류

422
Unprocessable Entity Error