Upload a student photo
Replaces the student's photo with an accepted image file and returns the refreshed profile.
Authentication
AuthorizationBearer
The signed-in SchoolSet user token sent by the frontend.
Path parameters
id
Student identifier.
Query parameters
batch_id
Academic year used when rebuilding the student response.
Request
This endpoint expects a multipart form containing a file.
file
JPEG
Response
The photo was saved and the refreshed student profile is returned.
status
message
data
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error

