Skip to main content
PATCH
Update Decision Engine Channel

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

channelId
string
required

The UUID of the channel

Body

application/json

Request body for updating a Decision Engine channel. Fields that are not in the request stay as they are. The type cannot change. A parent model cannot change after it is set.

label
string | null
parentModelId
number<double>
destinationId
number<double> | null
externalId
string
enabled
boolean
guardrails
object

Each field in guardrails that is in the request replaces the current value.

tags
object | null

Replaces all channel tags. Use null to remove all of them. A channel that is not raw has the tag channel = automatically, so its channel tag cannot be a channel type. A raw channel can use any value.

destinationConfig
object

Each key in the request replaces the current value. Other keys stay as they are.

sendEventId
string | null

Response

Ok

A Decision Engine channel

id
string
required
label
string | null
required
type
string
required
parentModelId
number<double> | null
required
destinationId
number<double> | null
required
enabled
boolean
required
externalId
string | null
required

The parent model column that identifies the user in the destination

guardrails
object
required

Rules that limit who the channel can send to and when

tags
object
required

Channel tags, by key. Each key and value is in the channel tag configuration.

destinationConfig
object
required

Destination settings for the channel. Each destination uses only some of them.

sendEventId
string | null
required

The send event that tracks sends on this channel

createdAt
string<date-time>
required
updatedAt
string<date-time> | null
required