Announcements
Update Announcement
Update an existing announcement (Admin only)
PUT
Overview
This endpoint allows administrators to update an existing announcement. Any fields provided in the request body will be updated, while omitted fields will remain unchanged.This endpoint requires admin authentication. Only users with admin privileges can update announcements.
Path Parameters
The unique identifier of the announcement to update
Request Body
Updated title of the announcement
Updated content/body of the announcement
Updated publication date in ISO 8601 format
Whether the announcement should be active (published)
Updated URL to associated media. Can be set to
null to remove existing media.Response
Success message confirming the announcement update
Notes
Only the fields included in the request body will be updated. You don’t need to send all fields - partial updates are supported.
Related Endpoints
Create Announcement
Create a new announcement
Deactivate Announcement
Deactivate an announcement to hide it from users
Get Announcement by ID
View the current state of an announcement