Update profile information for a specific student
PUT
/api/v1/student/{studentId}/profile
curl \
--request PUT 'http://localhost:3500/api/v1/student/uuid-string/profile' \
--header "Content-Type: application/json" \
--data '{"fullName":"John Doe Updated","phone":"+1234567890"}'
Request examples
{
"fullName": "John Doe Updated",
"phone": "+1234567890"
}
Response examples (200)
{
"message": "string",
"success": true,
"student": {
"id": "uuid-string",
"Registration_number": "CS/2023/001",
"user": {
"id": "uuid-string",
"email": "student@example.com",
"role": "STUDENT",
"status": "ACTIVE",
"profile": {
"id": "uuid-string",
"fullName": "John Doe",
"phone": "+1234567890",
"createdAt": "2025-09-25T10:30:00.000Z",
"updatedAt": "2025-09-25T10:30:00.000Z"
},
"createdAt": "2025-09-25T10:30:00.000Z",
"updatedAt": "2025-09-25T10:30:00.000Z"
},
"department": {
"id": "uuid-string",
"name": "Computer Science",
"instituteId": "uuid-string"
},
"institute": {
"id": "uuid-string",
"name": "University of Technology",
"code": "UOT",
"type": "University"
},
"cohort": {
"id": "uuid-string",
"name": "CS 2023 Batch",
"departmentId": "uuid-string",
"currentSemesterId": "uuid-string"
},
"createdAt": "2025-09-25T10:30:00.000Z",
"updatedAt": "2025-09-25T10:30:00.000Z"
}
}