U MngUpdateAIWorkflowBinding"> U MngUpdateAIWorkflowBinding">
Skip to content

title: MngUpdateAIWorkflowBinding - Update a binding keywords: "ScaleTrade, AI, MngUpdateAIWorkflowBinding, update binding, disable notifications" description: Change a binding: its agent, template, suppression rules, channels or enabled state. tags: - modules - ai - workflow


MngUpdateAIWorkflowBinding

PUT ai/workflow/binding

Updates a binding. Only the fields present in the request change.

Disabling with enabled: false is the safe way to stop a stream of notifications: the rules and the history stay, and the binding can be switched back on.

Access Control

Allowed: admin.

Parameters

id plus any editable field of MngAddAIWorkflowBinding, all optional. promptTemplateId: 0 detaches the template.

Response Data

The updated binding.

Errors

Code Error Description
400 AI_INVALID_DATA Unknown event, filter field or channel
403 AI_ACCESS_DENIED Not an administrator, or the binding belongs to another brand
404 AI_INVALID_DATA No such binding in this scope