Update Education
curl --request PATCH \
--url https://api.example.com/api/v1/job-seekers/me/educations/:educationIdimport requests
url = "https://api.example.com/api/v1/job-seekers/me/educations/:educationId"
response = requests.patch(url)
print(response.text)const options = {method: 'PATCH'};
fetch('https://api.example.com/api/v1/job-seekers/me/educations/:educationId', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/job-seekers/me/educations/:educationId",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/job-seekers/me/educations/:educationId"
req, _ := http.NewRequest("PATCH", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.example.com/api/v1/job-seekers/me/educations/:educationId")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/job-seekers/me/educations/:educationId")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
response = http.request(request)
puts response.read_body{
"id": "<string>"
}Education
Update Education
Update an existing education entry
PATCH
/
api
/
v1
/
job-seekers
/
me
/
educations
/
:educationId
Update Education
curl --request PATCH \
--url https://api.example.com/api/v1/job-seekers/me/educations/:educationIdimport requests
url = "https://api.example.com/api/v1/job-seekers/me/educations/:educationId"
response = requests.patch(url)
print(response.text)const options = {method: 'PATCH'};
fetch('https://api.example.com/api/v1/job-seekers/me/educations/:educationId', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/job-seekers/me/educations/:educationId",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/job-seekers/me/educations/:educationId"
req, _ := http.NewRequest("PATCH", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.example.com/api/v1/job-seekers/me/educations/:educationId")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/job-seekers/me/educations/:educationId")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
response = http.request(request)
puts response.read_body{
"id": "<string>"
}Endpoint
PATCH /api/v1/job-seekers/me/educations/:educationId
http://localhost:3000/api/v1
This endpoint requires authentication and Job Seeker role.
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
educationId | string | Yes | The education ID |
Authentication
Include the access token in the Authorization header:Authorization: Bearer YOUR_ACCESS_TOKEN
Description
Update an existing education entry. Only fields provided in the request body will be updated (partial update).Request Body
All fields are optional for updates:| Field | Type | Description |
|---|---|---|
institutionName | string | Name of the institution |
degreeType | enum | Type of degree obtained |
fieldOfStudy | string | Field of study |
description | string | Additional education details |
gpa | number | GPA (0-4 scale) |
startDate | string | Start date (ISO 8601 format) |
endDate | string | End date (ISO 8601 format) |
isCurrent | boolean | Currently studying here |
Degree Type Values
| Value | Description |
|---|---|
HIGH_SCHOOL | High school diploma |
ASSOCIATE | Associate degree |
BACHELOR | Bachelor’s degree |
MASTER | Master’s degree |
PHD | Doctorate/PhD |
BOOTCAMP | Coding bootcamp certificate |
CERTIFICATION | Professional certification |
OTHER | Other type of education |
Example Request Body
{
"gpa": 3.9,
"description": "Graduated with honors"
}
Response
Success Response (200 OK)
{
"success": true,
"data": {
"id": "edu-123-uuid",
"institutionName": "Cairo University",
"degreeType": "BACHELOR",
"fieldOfStudy": "Computer Science",
"description": "Graduated with honors",
"gpa": 3.9,
"startDate": "2017-09-01T00:00:00.000Z",
"endDate": "2021-06-30T00:00:00.000Z",
"isCurrent": false,
"jobSeekerId": "js-456-uuid"
},
"message": "Success",
"meta": {
"timestamp": "2026-04-23T20:00:00.000Z",
"path": "/job-seekers/me/educations/edu-123-uuid",
"method": "PATCH"
}
}
Response Fields
string
Unique identifier for the education entry.
Error Responses
401 Unauthorized
{
"success": false,
"error": {
"message": "Unauthorized",
"statusCode": 401,
"timestamp": "2026-04-23T20:00:00.000Z",
"path": "/job-seekers/me/educations/edu-123-uuid",
"method": "PATCH",
"details": "Unauthorized"
}
}
403 Forbidden
{
"success": false,
"error": {
"message": "Forbidden resource",
"statusCode": 403,
"timestamp": "2026-04-23T20:00:00.000Z",
"path": "/job-seekers/me/educations/edu-123-uuid",
"method": "PATCH",
"details": "Forbidden"
}
}
404 Not Found
{
"success": false,
"error": {
"message": "Education entry not found",
"statusCode": 404,
"timestamp": "2026-04-23T20:00:00.000Z",
"path": "/job-seekers/me/educations/edu-123-uuid",
"method": "PATCH",
"details": "Not Found"
}
}
400 Bad Request - Validation Error
{
"success": false,
"error": {
"message": [
"degreeType must be one of: HIGH_SCHOOL, ASSOCIATE, BACHELOR, MASTER, PHD, BOOTCAMP, CERTIFICATION, OTHER",
"gpa must be between 0 and 4"
],
"statusCode": 400,
"timestamp": "2026-04-23T20:00:00.000Z",
"path": "/job-seekers/me/educations/edu-123-uuid",
"method": "PATCH",
"details": "Bad Request"
}
}
Example Request
curl -X PATCH http://localhost:3000/api/v1/job-seekers/me/educations/edu-123-uuid \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"gpa": 3.9,
"description": "Graduated with honors"
}'
Notes
Partial Update: Only provide the fields you want to update. All other fields will remain
unchanged.
Updating Current Status: To mark a completed education as currently studying, set
isCurrent
to true and remove endDate.⌘I
