> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xenia.team/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove Announcement

> Take an announcement off the feed now and keep its read stats.

Takes a sent announcement off everyone's feed now, the same as **Remove** in the app. Its expiry is set to now, so its `status` becomes `past`. Its read stats stay available from [Get Announcement Stats](https://docs.xenia.team/api-reference/endpoints/announcements/get-announcement-stats.md).

To stop a draft or scheduled announcement, use [Delete Announcement](https://docs.xenia.team/api-reference/endpoints/announcements/delete-announcement.md), or make it a draft with [Update Announcement](https://docs.xenia.team/api-reference/endpoints/announcements/update-announcement.md).

> [!NOTE]
>
> 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

**workspaceId** `string\<uuid\>` *required*

UUID of the workspace. Must be the workspace your API key is bound to.

**announcementId** `string\<uuid\>` *required*

UUID of the announcement.

## Response

Returns `200` with `{ "data": { "announcement": <announcement> } }`, the same as [Get Announcement](https://docs.xenia.team/api-reference/endpoints/announcements/get-announcement.md).

## 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." |

```bash cURL theme={null}
curl -X POST "https://api.xenia.team/api/v1/ops/workspaces/{workspaceId}/announcements/{announcementId}/remove" \
  -H "x-client-key: YOUR_CLIENT_KEY" \
  -H "x-client-secret: YOUR_CLIENT_SECRET"
```

```json 200 theme={null}
{
  "data": {
    "announcement": {
      "id": "6a1f…",
      "title": "Holiday hours",
      "status": "past",
      "pinned": true,
      "sendAt": "2026-12-01T15:00:00.000Z",
      "publishedNow": true,
      "expiresAt": "2026-12-03T10:12:40.517Z",
      "createdAt": "2026-12-01T14:58:12.401Z",
      "createdBy": { "id": "9d03…", "firstName": "Alex", "lastName": "Kim" },
      "requireAcknowledgement": true,
      "recipientCount": 48,
      "openedCount": 31,
      "acknowledgedCount": 22,
      "description": "<p>All stores close at 6 PM on Dec 24.</p>",
      "coverImage": null,
      "color": { "bgColor": "#FFFFFF", "color": "#011B31" },
      "attachments": [],
      "requireSignature": false,
      "requirePhoto": false,
      "allowMultiplePhotos": false,
      "photoLimit": 1,
      "requireVideo": false,
      "audience": {
        "usersAndTeams": {
          "users": [],
          "teams": [],
          "locations": ["8f1c…", "3b77…"],
          "locationGroups": []
        }
      }
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.