Mutation
mutation UpdateBroadcast($input: UpdateBroadcastInput!) {
updateBroadcast(input: $input) {
broadcast {
id
name
notificationTitle
content
contentFormat
type
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"broadcastId": "id"
}
}Response
{
"data": {
"updateBroadcast": {
"broadcast": {
"id": "id",
"name": "string",
"notificationTitle": "string",
"content": "string",
"contentFormat": "TIPTAP",
"type": "SLACK"
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
updateBroadcast
Updates one or more fields of an existing broadcast. Each field uses a wrapper input —
pass { value: ... } to set it or omit it entirely to leave it unchanged. type is
not updatable. Requires the broadcast:edit permission.
MUTATION
updateBroadcast(input: UpdateBroadcastInput!): UpdateBroadcastOutput!Arguments
input
required
Returns
broadcast
error
Mutation
mutation UpdateBroadcast($input: UpdateBroadcastInput!) {
updateBroadcast(input: $input) {
broadcast {
id
name
notificationTitle
content
contentFormat
type
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"broadcastId": "id"
}
}Response
{
"data": {
"updateBroadcast": {
"broadcast": {
"id": "id",
"name": "string",
"notificationTitle": "string",
"content": "string",
"contentFormat": "TIPTAP",
"type": "SLACK"
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

