PUT announcements Id
PUT
Bearerheader
AuthorizationBearer <token>Paste your JWT token here
id*integerThe unique identifier of the announcement to update.
Format
int32The data transfer object containing the updated announcement data.
application/json- body
Defines the DTO for updating an existing announcement, containing all necessary information for modifying an announcement's properties. The UpdateAnnouncementDTO is used to transfer data from the client to the server when updating an existing announcement, allowing for changes to be made to the announcement's details while ensuring that the provided information is validated appropriately for the update process.
titleDutch*stringThe Dutch title of the announcement.
Length
0 <= length <= 100titleEnglish*stringThe English title of the announcement.
Length
0 <= length <= 100contentDutch*stringThe Dutch content of the announcement.
Length
0 <= length <= 1000contentEnglish*stringThe English content of the announcement.
Length
0 <= length <= 1000No Content
curl -X PUT 'https://example.com/announcements/0' \ -H 'Content-Type: application/json' \ -d '{ "titleDutch": "string", "titleEnglish": "string", "contentDutch": "string", "contentEnglish": "string"}'Empty