PUT studies Id

PUT
/studies/{id}

Authorization

Bearer
headerAuthorizationBearer <token>

Paste your JWT token here

Path Parameters

id*integer

The unique identifier of the study to update.

Formatint32

Request Body

The data transfer object containing the full updated study information.

application/json
  1. body

Defines the DTO for updating an existing study, containing all necessary information for modifying a study's properties. The StudyUpdateDTO is used to transfer data from the client to the server when updating an existing study, allowing for changes to be made to the study's details while ensuring that the provided information is validated appropriately for the update process.

title*string

The title of the study.

Length0 <= length <= 100
nominalDurationYears*integer

The default duration of the study in years.

Formatint32
type*StudyType

Defines the type of a Study.

Formatint32
Value in"Bachelor""Master"
active*boolean

Status of the study. Inactive studies are hidden from the public registration form, but are preserved in the database for historical records and statistics.

Response Body

No Content

curl -X PUT 'https://example.com/studies/0' \  -H 'Content-Type: application/json' \  -d '{  "title": "string",  "nominalDurationYears": 0,  "type": "Bachelor",  "active": true}'
Empty