v1
latestOpenAPI 3.0.02026-07-24900287.5 KBAthletes
Update an Athlete
This API will update and return athlete details for a single athlete.
put/athletes/{id}
Path parameters
idstring required
Athlete Id
Request body
Example request
{
"first_name": "Jock",
"last_name": "Rose",
"gender": "Male",
"position_id": "da0412b7-d274-11e4-b293-22000afc007c",
"team_id": "03ca53e1-e1b8-4d01-acde-db97fd3feffc",
"jersey": "02",
"nickname": "Rosey",
"height": 185,
"weight": 97,
"date_of_birth": 520524002,
"date_of_birth_date": "1970-01-01",
"velocity_max": 10,
"acceleration_max": 9,
"heart_rate_max": 222,
"player_load_max": 10,
"image": "example.png",
"icon": "example.ico",
"stroke_colour": "#ffffff",
"fill_colour": "#fffffd",
"trail_colour_start": "#000008",
"trail_colour_end": "#00000F"
}Response
Updated Athlete Details
Example response
{
"created_at": "2023-10-31 23:59:59",
"modified_at": "2023-10-31 23:59:59"
}