Skip to main content
POST
Create/update athlete

Authorizations

mogl_session
string
cookie
required

Session-based authentication via cookies + CSRF token

Body

multipart/form-data
sport_category_id
integer
required
first_name
string
required
last_name
string
required
email
string<email>
required
contact_number
string
required
university_id
integer
required
dob
string<date>
required
expected_graduation_date
integer
required
status
string
required

A or I

is_verified
integer
required

0 or 1

us_citizen
string
required

Y or N

gender
string
required
id
integer

Pass for update; omit for create

password
string
contact_number_old
string
jersey_no
string
location
string
profile_photo
file
cover_photo
file
profile_photo_val
string

Existing profile photo path when not uploading a new file

cover_photo_val
string

Existing cover photo path when not uploading a new file

Response

302

Redirect to athletes list