---
title: "Upload a file (raw body, up to 4 MB; Content-Type is kept)"
method: PUT
path: "/api/v1/store/files/{ns}/{name}"
tags: ["storage"]
---

# Upload a file (raw body, up to 4 MB; Content-Type is kept)

`PUT /api/v1/store/files/{ns}/{name}`

## Request

- Base URL: `https://cloudforbots.com`
- URL: `https://cloudforbots.com/api/v1/store/files/{ns}/{name}`
- Auth: HTTP bearer

## Path parameters

- `ns` string, required
- `name` string, required

## Response `200`

ok

---

[API](https://skmtc.dev/cloudforbots/apis/cloud-for-bots-api.md) · [All operations](https://skmtc.dev/cloudforbots/apis/cloud-for-bots-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cloudforbots/apis/cloud-for-bots-api/revisions/1afdb5648693?raw)
