Deletes an announcement, in any status. It leaves everyone’s feed, and its read stats are deleted with it.To take a sent announcement off the feed and keep its read stats, use Remove Announcement instead.
Announcements must be on your workspace’s plan. Otherwise every Announcements endpoint returns 403 with “Workspace doesn’t have “Announcements” feature activated.”
Permissions
The key acts as its default user, or the user in the x-client-user header (who must be in the workspace). That user’s role permissions apply.
Manage All Announcements: any announcement in the workspace
Create & Manage Own Announcements: announcements the user created
Path parameters
string<uuid>
required
UUID of the workspace. Must be the workspace your API key is bound to.
string<uuid>
required
UUID of the announcement.
Response
Returns 200 with { "data": { "id": "<announcementId>" } }.
Errors
Errors return the message at error.message.
Status
When
401
Invalid client credentials
403
Announcements isn’t on the workspace’s plan
403
The user doesn’t have Create & Manage Own Announcements or Manage All Announcements
403
The announcement was created by someone else and the user doesn’t have Manage All Announcements
404
”Announcement not found.”
409
The announcement is shared with franchisees or posted to a channel. Delete it in the Xenia app