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

idintegerRequired>=1
Student identifier.

Query parameters

batch_idintegerOptional>=1
Academic year used when rebuilding the student response.

Request

This endpoint expects a multipart form containing a file.
filefileRequired
JPEG

Response

The photo was saved and the refreshed student profile is returned.
statusstringOptional
messagestringOptional
dataobjectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error