Fill in profile details for a represented athlete
Lets an agent complete an athlete’s profile without the athlete being involved (ENG-1474). Authorization runs through the active agent_athletes relationship, so an agent can never edit someone else’s athlete. *
- The Edit modal is the athlete’s own edit experience rendered as a modal, so the field set mirrors the athlete’s
POST /editAthleteWebsiteand the same follow-ups run: graduation year re-decides whether they still count as a current athlete, bio and skills close the matching onboarding to-do, and profile completeness is recalculated so the roster percentage stays honest. - Every field is optional and only the fields actually sent are written, so the modal can save partial progress; a field that is present must still be valid. Sending either name part rewrites the athlete’s display
namefrom both. - Not accepted here on purpose: the profile photo, which keeps its own endpoint at POST /agent/athletes//photo; social accounts, which go through the Link Social Media flow; and email and password, which would let an agent take over the athlete’s login.
Authorizations
JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.
Path Parameters
Athlete user id. Must be on the authenticated agent's roster.
28550
Body
100"Ayden"
100"Syal"
Rejected when another live user already has it.
20"4155551809"
10"15"
"1998-04-29"
The Hometown field.
255"Berkeley, CA, USA"
Y, N "N"
Must exist in sports_categories.
12
5000"Junior wide receiver."
The Career Highlights field.
5000"All-American NCAA D1AA 2023"
Must exist in colleges.
340
Total inches.
70
Pounds.
200
1000"Cooking, Acting, Public Speaking"
50"7 1/2"
50"XL"
50"34"
50"11.5"
50"2027"
50"Male"
Y, N "Y"