PUT announcements Id

PUT
/announcements/{id}

Authorization

Bearer
headerAuthorizationBearer <token>

Paste your JWT token here

Path Parameters

id*integer

The unique identifier of the announcement to update.

Formatint32

Request Body

The data transfer object containing the updated announcement data.

application/json
  1. 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*string

The Dutch title of the announcement.

Length0 <= length <= 100
titleEnglish*string

The English title of the announcement.

Length0 <= length <= 100
contentDutch*string

The Dutch content of the announcement.

Length0 <= length <= 1000
contentEnglish*string

The English content of the announcement.

Length0 <= length <= 1000

Response Body

No Content

curl -X PUT 'https://example.com/announcements/0' \  -H 'Content-Type: application/json' \  -d '{  "titleDutch": "string",  "titleEnglish": "string",  "contentDutch": "string",  "contentEnglish": "string"}'
Empty