---
title: "Update Skill File"
method: PUT
path: "/v2/skills/{skill_id}/files/{path}"
tags: ["Skills"]
---

# Update Skill File

`PUT /v2/skills/{skill_id}/files/{path}`

Update the content of a file in a skill. Only team skills can be edited.

## Path parameters

- `skill_id` string, uuid, required
- `path` string, required

## Request body

- object
  - `content` string, required — New UTF-8 text content for the file.

## Response `200`

Default Response

- object
  - `success` boolean, required — True if the file was updated
  - `message` string, required — Human-readable result message
  - `skill` object — Updated skill metadata, present only when SKILL.md was edited
    - `id` string, required — Unique skill identifier
    - `name` string, required — Updated skill name parsed from SKILL.md
    - `description` string, required — Updated skill description parsed from SKILL.md

## Other responses

- `400` — Default Response
- `401` — Default Response
- `403` — Default Response
- `404` — Default Response
- `409` — Default Response
- `500` — Default Response

---

[API](https://skmtc.net/duvo/apis/duvo-public-api.md) · [All operations](https://skmtc.net/duvo/apis/duvo-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/duvo/duvo-public-api/versions/dafcf3d868a9/schema)
