Update a student
PUT /students/{studentId}
PUT
/students/{studentId}
Update student information (teacher role required)
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” studentId
required
integer format: int64
The ID of the student to update
Request Body required
Section titled “Request Body required ”All fields are optional for partial updates
object
student_name
Updated name of the student
string
class_code
Updated class code for the student
string
Responses
Section titled “ Responses ”Student updated successfully
object
success
required
Indicates if the request was successful
boolean
message
required
Response message
string
success
boolean
message
string
data
object
student_id
integer format: int64
student_name
string
email
string format: email
class_code
string
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
Resource not found
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