Update a broadcast message
PUT
/api/v4/broadcast_messages/{id}
Updates a specified broadcast message.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” id
required
integer
Broadcast message ID
Request Body
Section titled “ Request Body ” Media type application/json
object
message
Message to display
string
starts_at
Starting time
string format: date-time
ends_at
Ending time
string format: date-time
color
Background color (Deprecated. Use “theme” instead.)
string
font
Foreground color (Deprecated. Use “theme” instead.)
string
target_access_levels
Target user roles
Array<integer>
target_path
Target path
string
broadcast_type
Broadcast Type
string
dismissable
Is dismissable
boolean
theme
The theme for the message
string
Responses
Section titled “ Responses ”OK
Media type application/json
object
id
integer format: int64
message
string
starts_at
string format: date-time
ends_at
string format: date-time
color
string
font
string
target_access_levels
array
target_path
string
broadcast_type
string
theme
string
dismissable
boolean
active
boolean
Example
{ "message": "Example broadcast message", "starts_at": "2016-01-04T15:39:55.570Z", "ends_at": "2016-01-06T15:39:55.570Z", "color": "#E75E40", "font": "#FFFFFF", "target_access_levels": [ 10, 30 ], "target_path": "*/welcome", "broadcast_type": "banner", "theme": "indigo"}Bad Request
Not Found