For reasons, I want to know if it is possible to delete a global announcement via API? I have a script that will generate a global announcement (Account Notifications API), and I store and can reference each announcement's unique ID. But is there a way to remove an announcement for all users other than using the "end_at" field?
The delete action of the Account Notifications API only seems to hide the announcement for a single user. I want to hide it for ALL users, or just delete the message entirely.
Surely there is a way to delete a global announcement via API, right? My only alternative that I can think of right now is to use the "update a global notification" (PUT) to change the role it is assigned to and maybe only show it to admins or a 'dummy' role, but that seems clunky.
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.