Update announcement
PUT
/api/announcements/{id}
Update an announcement by id.
Authorizations
bearerAuth
Bearer token using a JWT
Type
HTTP (Bearer)
Parameters
Path Parameters
id*
Id of the announcement to update.
Type
Requiredinteger
Example
1Request Body
application/json
JSON "title": "Announcement title", "announcement": "Announcement text", "visible": true
{
}
Responses
The updated announcement with identifier id.
application/json
JSON "id": 1, "createdAt": "2020-01-29T18:10:16.630Z", "updatedAt": "2020-01-30T22:42:14.789Z", "title": "Announcement title", "announcement": "Announcement text", "visible": true
{
}

