Teacher Profile

Teacher profile management operations

Get teacher self information

get
/teacher/self

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
get
/teacher/self

Update teacher password

post
/teacher/update-password

Update current teacher's password

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
currentPasswordstringRequired

Current password

Example: oldpassword123
newPasswordstringRequired

New password

Example: newpassword123
confirmPasswordstringRequired

Confirm new password

Example: newpassword123
Responses
200

Password updated successfully

application/json
post
/teacher/update-password

Last updated