Skip to main content
POST
Upload a profile photo for a represented athlete

Authorizations

Authorization
string
header
required

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

Path Parameters

athleteId
integer
required

Athlete user id. Must be on the authenticated agent's roster.

Example:

28550

Body

profile_photo
file
required

Image file. jpeg, jpg, png or webp, max 5120 KB.

Response

Profile photo updated

message
string
Example:

"Profile photo updated."

data
object