PUT members Id

PUT
/members/{id}

Authorization

Bearer
headerAuthorizationBearer <token>

Paste your JWT token here

Path Parameters

id*string

The unique identifier of the member to update.

Formatuuid

Request Body

The data transfer object containing the complete updated profile information.

application/json
  1. body

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

studentNumber*string

The student number of the member.

firstName*string

The first name of the member.

Length0 <= length <= 60
lastName*string

The last name of the member.

Length0 <= length <= 60
email*string

The email address of the member.

Match^[a-zA-Z0-9!#$%&'*+/=?^_`{|}~.-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)+$
Length0 <= length <= 100
phoneNumber*string

The phone number of the member.

Match^(\+?[1-9]\d{6,14}|0[1-9]\d{8})$
Length1 <= length
street*string

The street of the member.

Length0 <= length <= 40
houseNumber*string

The house number of the member.

Match^[1-9][0-9]*(?:[\s-]?[a-zA-Z0-9]{1,3})?$
Length0 <= length <= 10
postalCode*string

The postal code of the member.

Length0 <= length <= 10
city*string

The city of the member.

Length0 <= length <= 40
dateOfBirth*string

The date of birth of the member.

Formatdate-time
parentPhoneNumber?|

Phone number of the member's parent or guardian, if the member is a minor.

Match^(\+?[1-9]\d{6,14}|0[1-9]\d{8})$
notes?|

The notes about the member.

preferredLanguage*Language

Defines the language preference of a member, which can be either Dutch (NL) or English (EN). This enumeration is used to indicate the preferred language for communication and content presentation for a member within the system.

Formatint32
Value in"NL""EN"
gratie?boolean

Indicates whether the member is granted a fee waiver.

lidVanVerdienste?boolean

Indicates whether the member is a "Lid van Verdienste".

ereLid?boolean

Indicates whether the member is an honorary member.

begunstiger?boolean

Indicates whether the member is a "Begunstiger".

suspended?boolean

Indicates whether the member is suspended.

Response Body

No Content

curl -X PUT 'https://example.com/members/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{  "studentNumber": "string",  "firstName": "string",  "lastName": "string",  "email": "string",  "phoneNumber": "string",  "street": "string",  "houseNumber": "string",  "postalCode": "string",  "city": "string",  "dateOfBirth": "2019-08-24T14:15:22Z",  "preferredLanguage": "NL"}'
Empty