---
title: "Update an existing announcement."
method: PUT
path: "/announcements/{announcement_id}"
tags: ["Announcements"]
---

# Update an existing announcement.

`PUT /announcements/{announcement_id}`

Allows a moderator to update an existing announcement.

## Path parameters

- `announcement_id` integer, required

## Request body

- object
  - `announcement_text` string — Updated content of the announcement.
  - `status` 'DRAFT' | 'ACTIVE' | 'INACTIVE' — Updated status of the announcement.
  - `user_id` string, uuid — The ID of the user who is updating the announcement.
  - `notes` string — Optional notes about the announcement.

## Response `200`

Announcement updated successfully. Returns the updated announcement object.

- object
  - `announcement_id` integer — The unique identifier of the announcement.
  - `announcement_text` string — Content of the announcement.
  - `status` string — Current status of the announcement.
  - `user_id` string, uuid — The ID of the user who updated the announcement.
  - `user_name` string — The name of the user who updated the announcement.
  - `notes` string — Optional notes about the announcement.
  - `created_at` string, date-time — Timestamp when the announcement was created.
  - `updated_at` string, date-time — Timestamp when the announcement was last updated.

## Other responses

- `400` — Validation error.
- `404` — Announcement not found.
- `500` — Internal server error.

---

[API](https://skmtc.net/archives/apis/catalog-api.md) · [All operations](https://skmtc.net/archives/apis/catalog-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/archives/catalog-api/versions/cafec81df996/schema)
