> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mokaru.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Education

> Update an education entry

## Overview

The Update Education endpoint lets you modify an existing education entry's details. Only include the fields you want to change. Pass `null` for optional fields to clear them.

<Note>
  **Scope required:** `education:write` | **Rate limit:** 20 requests/min
</Note>

## Request

```bash theme={null}
PATCH /v1/education/{id}
```

### Path Parameters

<ParamField path="id" type="string" required>
  The education entry's unique ID
</ParamField>

### Body Parameters

All fields are optional, but at least one must be provided.

<ParamField body="institution" type="string">
  School or institution name (max 200 characters)
</ParamField>

<ParamField body="degree" type="string">
  Degree type (max 200 characters)
</ParamField>

<ParamField body="fieldOfStudy" type="string">
  Field of study (max 200 characters) (nullable)
</ParamField>

<ParamField body="location" type="string">
  Location of the institution (max 200 characters) (nullable)
</ParamField>

<ParamField body="startDate" type="string">
  ISO 8601 datetime (nullable)
</ParamField>

<ParamField body="endDate" type="string">
  ISO 8601 datetime (nullable)
</ParamField>

<ParamField body="isCurrent" type="boolean">
  Whether currently enrolled (nullable)
</ParamField>

<ParamField body="description" type="string">
  Additional details (nullable)
</ParamField>

<ParamField body="grade" type="string">
  Grade or classification (max 50 characters) (nullable)
</ParamField>

<ParamField body="gpa" type="number">
  GPA value (nullable)
</ParamField>

### Query Parameters

<ParamField query="cvId" type="string">
  Target a specific resume by its id (from `list-resumes`). Omit to use your base/default resume; the resume must be self-contained.
</ParamField>

### Example

```bash theme={null}
curl -X PATCH "https://api.mokaru.ai/v1/education/clx1234" \
  -H "Authorization: Bearer mk_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "degree": "Master of Science",
    "field": "Machine Learning"
  }'
```

## Response

<ResponseField name="success" type="boolean">Whether the education was updated</ResponseField>
<ResponseField name="id" type="string">The education entry's ID</ResponseField>

```json theme={null}
{
  "success": true,
  "id": "clx1234..."
}
```
