Skip to main content
PUT
/
athlete
/
update-eligibility
Update athlete eligibility to university
curl --request PUT \
  --url http://localhost/mogl/mogl-backend/api/athlete/update-eligibility \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "eligibility": "C",
  "university_id": 1
}
'

Documentation Index

Fetch the complete documentation index at: https://developer.mogl.online/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json
eligibility
enum<string>
required

C = Competing (same school), CFAS = Competing For Another School, NC = Not Competing

Available options:
C,
CFAS,
NC
Example:

"C"

university_id
integer | null

Required when eligibility = CFAS. Must be a valid colleges.id

Example:

1

Response

Eligibility updated