Teacher Profile
Teacher profile management operations
Retrieve current teacher's information including assigned students
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200
Teacher information retrieved successfully
application/json
401
Unauthorized access
application/json
500
Internal server error
application/json
get
/teacher/selfUpdate current teacher's password
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
currentPasswordstringRequiredExample:
Current password
oldpassword123newPasswordstringRequiredExample:
New password
newpassword123confirmPasswordstringRequiredExample:
Confirm new password
newpassword123Responses
200
Password updated successfully
application/json
400
Password validation error
application/json
401
Invalid current password
application/json
500
Internal server error
application/json
post
/teacher/update-passwordLast updated