Update teacher
PUT /teachers/{teacherId}
PUT
/teachers/{teacherId}
Updates an existing teacher’s information
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” teacherId
required
integer
The teacher ID to update
Request Body required
Section titled “Request Body required ”object
teacher_name
required
Updated name of the teacher
string
Responses
Section titled “ Responses ”Teacher updated successfully
object
success
boolean
true
Bad request - invalid input
object
success
required
Indicates if the request was successful
boolean
message
required
Response message
string
success
boolean
message
string
Unauthorized - authentication required
object
success
required
Indicates if the request was successful
boolean
message
required
Response message
string
success
boolean
message
string
Forbidden - insufficient permissions
object
success
required
Indicates if the request was successful
boolean
message
required
Response message
string
success
boolean
message
string
Internal server error
object
success
required
Indicates if the request was successful
boolean
message
required
Response message
string
success
boolean
message
string