Zur Navigation springen

Update Rule

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

Pfadparameter

agent_idstringErforderlich
rule_idstringErforderlich

Header

xi-api-keystringOptional
xi-workspace-idstring or nullOptional
The customer workspace a reseller's API key acts on.

Anfrage

This endpoint expects an object.
titlestringErforderlich
Title of the rule.
descriptionstringErforderlich
What the agent should do, in detail.
priorityenumOptionalStandardwert ist strict

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

Erlaubte Werte:

Antwort

Erfolgreiche Antwort
titlestring
Title of the rule.
descriptionstring
What the agent should do, in detail.
priorityenumOptionalStandardwert ist strict

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

Erlaubte Werte:
idstringOptional
created_at_unixintegerOptional

Unix timestamp (seconds since epoch)

Fehler

422
Unprocessable Entity Error