Announcements
Update Announcement
PATCH
/api/content/announcements/{announcement_id}Overview
Endpoint for update announcement.
Requirements
- Header:
API-Version: 1 - Authentication:
Authorization: Bearer <token>(if protected)
Parameters
Path
announcement_idstringrequiredUnique identifier of the platform announcement notice.
Request body
application/json
titlestring | nullcontentstring | nullseverityenum | nullstarts_atstring (date-time) | nullends_atstring (date-time) | null{
"title": "string",
"content": "string",
"severity": "info",
"starts_at": "2026-01-01T00:00:00Z",
"ends_at": "2026-01-01T00:00:00Z"
} Responses
200 Successful Response
idstringrequiredtitlestringrequiredcontentstringrequiredseverityenumrequiredinfowarningcriticalstatusenumrequireddraftpublishedstarts_atstring (date-time) | nullrequiredends_atstring (date-time) | nullrequiredpublished_atstring (date-time) | nullrequiredcreated_bystringrequiredcreated_by_namestring | nullrequiredupdated_bystring | nullrequiredupdated_by_namestring | nullrequiredcreated_atstring (date-time)requiredupdated_atstring (date-time) | nullrequired{
"id": "string",
"title": "string",
"content": "string",
"severity": "info",
"status": "draft",
"starts_at": "2026-01-01T00:00:00Z",
"ends_at": "2026-01-01T00:00:00Z",
"published_at": "2026-01-01T00:00:00Z",
"created_by": "string",
"created_by_name": "string",
"updated_by": "string",
"updated_by_name": "string",
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
} 400 Bad Request - The request parameters or headers are invalid (e.g. unsupported API-Version).
401 Unauthorized - Missing, invalid, or expired JWT Bearer token.
403 Forbidden - Insufficient role permissions or resource access denied by RBAC policy.
404 Not Found - The requested resource ID was not found.
422 Validation Error
detailobject[]detail[].locstring | integer[]requireddetail[].msgstringrequireddetail[].typestringrequireddetail[].inputobjectdetail[].ctxobject{
"detail": [
{
"loc": [
null
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Example
curl -X PATCH "$PINTER_URL/api/content/announcements/ann_maint_2026_vector_db" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"title":"string","content":"string","severity":"info","starts_at":"2026-01-01T00:00:00Z","ends_at":"2026-01-01T00:00:00Z"}'