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

> Update a skill

## Overview

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

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

## Request

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

### Path Parameters

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

### Body Parameters

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

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

<ParamField body="category" type="string">
  Skill category. One of: TECHNICAL, SOFT, or LANGUAGE
</ParamField>

<ParamField body="level" type="string">
  Free-text level label, e.g. "Expert", "Intermediate". (max 50 characters) (nullable)
</ParamField>

<ParamField body="score" type="number">
  Numeric proficiency 1-5. (nullable)
</ParamField>

<ParamField body="isVisible" type="boolean">
  Visibility flag on the skill itself - false hides the skill outright. To hide it on just one resume, use hiddenItems on that resume instead.
</ParamField>

<ParamField body="displayOrder" type="number">
  Sort order of the skill
</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/skills/clx1234" \
  -H "Authorization: Bearer mk_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "level": "expert",
    "category": "Programming Languages"
  }'
```

## Response

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

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