# Update Student **PUT /students/{studentId}** Updates student information. ## Servers - Local development server: http://localhost:8080/api (Local development server) - Production server: https://api.huy-devops.site/api (Production server) ## Authentication methods - Bearer auth ## Parameters ### Path parameters - **studentId** (string) The student ID ### Body: application/json (object) - **firstName** (string | null) First name of the student - **lastName** (string | null) Last name of the student - **phoneNumber** (string | null) Phone number of student - **avatarUrl** (string | null) Avatar image URL - **status** (string | null) Student status ## Responses ### 200 Student updated successfully #### Body: application/json (object) - **success** (boolean) - **code** (integer(int32)) - **message** (string) - **data** (object) API response schema for student returned by student endpoints (includes profile and credentials when applicable) ### 400 Bad Request - Invalid input data #### Body: application/json (object) - **success** (boolean) - **code** (integer) - **errorCode** (string) - **message** (string) - **timestamp** (string(date-time)) ### 404 Student not found #### Body: application/json (object) - **success** (boolean) - **code** (integer) - **errorCode** (string) - **message** (string) - **timestamp** (string(date-time)) ### 500 Internal Server Error #### Body: application/json (object) - **success** (boolean) - **code** (integer) - **errorCode** (string) - **message** (string) - **timestamp** (string(date-time)) [Powered by Bump.sh](https://bump.sh)