> ## 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 Resume

> Update a resume - only provided fields are modified

## Overview

The Update Resume endpoint lets you modify any aspect of a resume. Only fields you include in the request are updated - everything else stays unchanged.

**Common use cases:**

* **AI agent resume tailoring** - update skills or summary to match a specific job description.
* **Rename or reorganize** - change the resume name, switch templates, or reorder sections.
* **Set as default** - promote a resume to be the default for auto-prep applications.

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

## Request

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

### Body Parameters

All fields are optional. At least one must be provided.

<ParamField body="name" type="string">
  Resume name (max 200 characters)
</ParamField>

<ParamField body="template" type="string">
  Template ID
</ParamField>

<ParamField body="isDefault" type="boolean">
  Set as the default resume (unsets any existing default)
</ParamField>

<ParamField body="cvData" type="object">
  Resume content (replaces the entire cvData object)
</ParamField>

<ParamField body="designSettings" type="object">
  Visual styling
</ParamField>

<ParamField body="optionalFields" type="object">
  Show/hide toggles
</ParamField>

<ParamField body="sectionOrder" type="array">
  Section order
</ParamField>

### Example

```bash theme={null}
curl -X PATCH "https://api.mokaru.ai/v1/resume/clx1234" \
  -H "Authorization: Bearer mk_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Updated Resume",
    "isDefault": true
  }'
```

## Response

<ResponseField name="success" type="boolean">Whether the resume was updated</ResponseField>
<ResponseField name="id" type="string">The resume ID</ResponseField>

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