EduCare
API Reference

Update a student

Update an existing student's information.

PUT
/students/{id}

Authorization

BearerAuth
AuthorizationBearer <token>

Obtain your API key from the developer dashboard at https://dashboard.educare.com

In: header

Path Parameters

id*integer

Request Body

application/json

name?string
email?string
Formatemail
grade_level?string
date_of_birth?string
Formatdate
guardian_name?string
guardian_email?string
Formatemail
guardian_phone?string
address?string

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://api.educare.com/v1/students/0" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": 1234,
  "name": "Emma Wilson",
  "email": "emma.wilson@student.educare.com",
  "grade_level": "11",
  "date_of_birth": "2008-05-15",
  "guardian_name": "Sarah Wilson",
  "guardian_email": "sarah.wilson@email.com",
  "guardian_phone": "+1-555-123-4567",
  "address": "123 Oak Street, Springfield, IL 62701",
  "enrollment_date": "2023-08-20",
  "created_at": "2023-08-20T10:30:00Z",
  "updated_at": "2025-12-15T14:22:00Z"
}
{
  "error": "Validation failed: email is required",
  "code": "VALIDATION_ERROR",
  "status": 400
}
{
  "error": "Invalid API key",
  "code": "UNAUTHORIZED",
  "status": 401
}
{
  "error": "Student not found",
  "code": "NOT_FOUND",
  "status": 404
}