---
title: "Upload a file"
method: POST
path: "/files/upload"
tags: ["files"]
---

# Upload a file

`POST /files/upload`

## Request

- The document declares no server URL.
- Auth: none declared

Upload a file to the specified destination path

## Request body `multipart/form-data`

- object
  - `file` string, binary, required: File to upload
  - `destPath` string, required: Destination path for the uploaded file

## Response `204`

No Content

---

[API](https://skmtc.dev/tencentblueking/apis/daemon-api.md) - [All operations](https://skmtc.dev/tencentblueking/apis/daemon-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tencentblueking/apis/daemon-api/revisions/b7207bf13d2c?raw)
