Bearer token for authentication
The tenant ID to scope the announcement
Path Parameters
The unique identifier of the announcement to mark as read
Response
Indicates if the request was successful
curl -X POST "https://api.example.com/api/v2/admin/announcements/1/read" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "X-Tenant-ID: your-tenant-id"
{
"success": true,
"message": "Announcement marked as read"
}
Notes
- This endpoint creates or updates an
announcement_reads record for the current user
- If the announcement is already marked as read, the operation is idempotent
- The
read_at timestamp is set to the current time
- Only announcements belonging to the specified tenant can be marked as read