Vai alla navigazione

Update Rule

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

Parametri di percorso

agent_idstringObbligatorio
rule_idstringObbligatorio

Header

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

Richiesta

This endpoint expects an object.
titlestringObbligatorio
Title of the rule.
descriptionstringObbligatorio
What the agent should do, in detail.
priorityenumOpzionalePredefinito a strict

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

Valori consentiti:

Risposta

Risposta riuscita
titlestring
Title of the rule.
descriptionstring
What the agent should do, in detail.
priorityenumOpzionalePredefinito a strict

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

Valori consentiti:
idstringOpzionale
created_at_unixintegerOpzionale

Unix timestamp (seconds since epoch)

Errori

422
Unprocessable Entity Error