Skip to content

Update Automation Rule

PUT
/broadcasts/automation-rules/{documentId}

Strapi v5 Admin API endpoint handled by broadcastController.updateAutomationRule.

documentId
required
string

Target documentId identifier

EventHub-driven automated multi-channel broadcast rule

object
documentId

Strapi v5 Document Service unique identifier

string
name
required
string
slug
required
string
eventName
required
string
targetContentType
string
topic
required
string
default: announcements
channels
required
object
key
additional properties
any
active
boolean
default: true
priority
string
default: normal
Allowed values: low normal high urgent
subjectTemplate
required
string
bodyTextTemplate
required
string
bodyHtmlTemplate
string
ctaLabelTemplate
string
ctaUrlTemplate
string
translations
object
key
additional properties
any
lastTriggeredAt
string format: date-time
triggerCount
integer
0

Successful response

object
data

EventHub-driven automated multi-channel broadcast rule

object
documentId

Strapi v5 Document Service unique identifier

string
name
required
string
slug
required
string
eventName
required
string
targetContentType
string
topic
required
string
default: announcements
channels
required
object
key
additional properties
any
active
boolean
default: true
priority
string
default: normal
Allowed values: low normal high urgent
subjectTemplate
required
string
bodyTextTemplate
required
string
bodyHtmlTemplate
string
ctaLabelTemplate
string
ctaUrlTemplate
string
translations
object
key
additional properties
any
lastTriggeredAt
string format: date-time
triggerCount
integer
0

Bad Request — validation or parameter error

Unauthorized — missing or invalid Bearer token

Forbidden — insufficient Strapi RBAC permissions