---
title: "Add a file to the memory filesystem"
method: PUT
path: "/memfs/{path}"
---

# Add a file to the memory filesystem

`PUT /memfs/{path}`

Writes or overwrites a file on the memory filesystem

## Path parameters

- `path` string, required

## Response `201`

Created

- string

## Other responses

- `204` — No Content
- `507` — Insufficient Storage

## Changes

- **2022-05-13** `d0614126abfa` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/datarhei/apis/datarhei-core-api/changes/memfs/:path/put.md)

---

[API](https://skmtc.dev/datarhei/apis/datarhei-core-api.md) · [All operations](https://skmtc.dev/datarhei/apis/datarhei-core-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/datarhei/datarhei-core-api/revisions/37e2216cc6a2/schema)
