v1

latestOpenAPI 3.0.02026-07-14282938.4 KB
Users

Create a new user.

post/users

Request body

emailstring email required
first_namestring
last_namestring
birth_datestring date
nationality_idstring
club_idstring
passwordstring password required

Example request

{
  "email": "john.doe@gmail.com",
  "first_name": "John",
  "last_name": "Doe",
  "birth_date": "2025-11-30",
  "nationality_id": "NL",
  "club_id": "CLUBID",
  "password": "123456789"
}

Response

The created user.

idstring
first_namestring
last_namestring

Example response

{
  "id": "ID",
  "first_name": "John",
  "last_name": "Doe",
  "nationality": {
    "iso": "BE",
    "description": "Belgian"
  },
  "club": {
    "id": "ID",
    "name": "demo name",
    "short_name": "DN",
    "country": "NL",
    "city": "Brussels",
    "email": "DN@atletiek.be"
  }
}