---
title: "POST /vscode/copy"
method: POST
path: "/vscode/copy"
tags: ["vscode"]
---

# POST /vscode/copy

`POST /vscode/copy`

## Request

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

将旧URI重命名为新URI。如果overwrite为true，则覆盖同名文件

## Request body `application/x-www-form-urlencoded`

- object
  - `source` string, required: source
  - `destination` string, required: destination
  - `overwrite` boolean: 是否覆盖同名文件

## Response `200`

复制成功

## Other responses

- `400`: 复制失败

---

[API](https://skmtc.dev/fireboomio/apis/fireboom-app-api.md) - [All operations](https://skmtc.dev/fireboomio/apis/fireboom-app-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireboomio/apis/fireboom-app-api/revisions/3864739d5128?raw)
