Admin API / Mutations
updateAnnouncement
Changes the title or the content of an active announcement. An omitted field keeps its value; null or blank text clears it. The result must keep text in the title or the content, else the call gives a VALIDATION_ERROR and changes nothing. An ended announcement gives AnnouncementEndedError. Sends no notification. Requires the ADMIN role or higher.
Requires a client key with one of these scopes:
admin:announcements:writeRequires this member role or higher: ADMINupdateAnnouncement(
input: UpdateAnnouncementInput!
): UpdateAnnouncementPayload!Arguments
| Argument | Type | Description |
|---|---|---|
input | UpdateAnnouncementInput! | The announcement and its new text. |