---
title: "POST /v1/{+workspace}:moveFile"
method: POST
path: "/v1/{+workspace}:moveFile"
tags: ["projects"]
---

# POST /v1/{+workspace}:moveFile

`POST /v1/{+workspace}:moveFile`

Moves a file (inside a Workspace) to a new location.

## Path parameters

- `workspace` string, required

## Request body

- MoveFileRequest — `MoveFile` request message.
  - `path` string — Required. The file's full path including filename, relative to the workspace root.
  - `newPath` string — Required. The file's new path including filename, relative to the workspace root.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/dataform.md) · [All operations](https://skmtc.net/google/apis/dataform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/dataform/versions/b9dafc69d5c5/schema)
