---
title: "Update File Content"
method: PUT
path: "/v2/teams/{teamId}/files/content/{path}"
tags: ["Files"]
---

# Update File Content

`PUT /v2/teams/{teamId}/files/content/{path}`

Update the content of a text file.

## Path parameters

- `path` string, required
- `teamId` 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 operation succeeded

## Other responses

- `400` — Default Response
- `401` — Default Response
- `404` — 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/revisions/dafcf3d868a9/schema)
